cancel
Showing results for 
Search instead for 
Did you mean: 

Plesk 12.5 - migration tool install fails with composer PHP dependency errors

Plesk 12.5 - migration tool install fails with composer PHP dependency errors

i just installed magento 2.1.1 for the first time and now want to install the migration tool to move my 1.9 store to the new install.

Installation went without a hitch (used the install wizard), all requirements were met and empty store front displays fine and backend works as expected.

 

I am using Plesk 12.5.3 on Centos 7.2.1511 and have configured the vhost for the new m2 install with php 7.

 

When i run the command listed here http://devdocs.magento.com/guides/v2.0/migration/migration-tool-install.html#install-repo

 

composer require magento/data-migration-tool:2.1.1

i get the following errors:

 

Problem 1
    - magento/framework 100.1.1 requires ext-mcrypt * -> the requested PHP extension mcrypt is missing from your system.
    - magento/framework 100.1.1 requires php ~5.6.0|7.0.2|~7.0.6 -> your PHP version (5.4.16) does not satisfy that requirement.
    - magento/framework 100.1.1 requires php ~5.6.0|7.0.2|~7.0.6 -> your PHP version (5.4.16) does not satisfy that requirement.
    - magento/framework 100.1.1 requires ext-mcrypt * -> the requested PHP extension mcrypt is missing from your system.
    - Installation request for magento/framework (locked at 100.1.1) -> satisfiable by magento/framework[100.1.1].

  To enable extensions, verify that they are enabled in those .ini files:
    - /etc/php.ini
    - /etc/php.d/00-ioncube-loader.ini
    - /etc/php.d/curl.ini
    - /etc/php.d/dom.ini
    - /etc/php.d/fileinfo.ini
    - /etc/php.d/gd.ini
    - /etc/php.d/imap.ini
    - /etc/php.d/json.ini
    - /etc/php.d/mbstring.ini
    - /etc/php.d/mysql.ini
    - /etc/php.d/mysqli.ini
    - /etc/php.d/pdo.ini
    - /etc/php.d/pdo_mysql.ini
    - /etc/php.d/pdo_sqlite.ini
    - /etc/php.d/phar.ini
    - /etc/php.d/sqlite3.ini
    - /etc/php.d/wddx.ini
    - /etc/php.d/xmlreader.ini
    - /etc/php.d/xmlwriter.ini
    - /etc/php.d/xsl.ini
    - /etc/php.d/zend_extensions_psa.ini
    - /etc/php.d/zip.ini

running php --version in the shell i get PHP 7.0.11 and running which php i get

 

alias php='/opt/plesk/php/7.0/bin/php'
	/opt/plesk/php/7.0/bin/php

and

 

php --ini

returns:

 

Configuration File (php.ini) Path: /opt/plesk/php/7.0/etc
Loaded Configuration File:         /opt/plesk/php/7.0/etc/php.ini
Scan for additional .ini files in: /opt/plesk/php/7.0/etc/php.d
Additional .ini files parsed:      /opt/plesk/php/7.0/etc/php.d/10-opcache.ini,
/opt/plesk/php/7.0/etc/php.d/20-mysqlnd.ini,
/opt/plesk/php/7.0/etc/php.d/bcmath.ini,
/opt/plesk/php/7.0/etc/php.d/curl.ini,
/opt/plesk/php/7.0/etc/php.d/dba.ini,
/opt/plesk/php/7.0/etc/php.d/dom.ini,
/opt/plesk/php/7.0/etc/php.d/enchant.ini,
/opt/plesk/php/7.0/etc/php.d/fileinfo.ini,
/opt/plesk/php/7.0/etc/php.d/gd.ini,
/opt/plesk/php/7.0/etc/php.d/imagick.ini,
/opt/plesk/php/7.0/etc/php.d/imap.ini,
/opt/plesk/php/7.0/etc/php.d/intl.ini,
/opt/plesk/php/7.0/etc/php.d/json.ini,
/opt/plesk/php/7.0/etc/php.d/ldap.ini,
/opt/plesk/php/7.0/etc/php.d/mbstring.ini,
/opt/plesk/php/7.0/etc/php.d/mcrypt.ini,
/opt/plesk/php/7.0/etc/php.d/mysqli.ini,
/opt/plesk/php/7.0/etc/php.d/odbc.ini,
/opt/plesk/php/7.0/etc/php.d/pdo.ini,
/opt/plesk/php/7.0/etc/php.d/pdo_mysql.ini,
/opt/plesk/php/7.0/etc/php.d/pdo_odbc.ini,
/opt/plesk/php/7.0/etc/php.d/pdo_pgsql.ini,
/opt/plesk/php/7.0/etc/php.d/pdo_sqlite.ini,
/opt/plesk/php/7.0/etc/php.d/pgsql.ini,
/opt/plesk/php/7.0/etc/php.d/phar.ini,
/opt/plesk/php/7.0/etc/php.d/posix.ini,
/opt/plesk/php/7.0/etc/php.d/pspell.ini,
/opt/plesk/php/7.0/etc/php.d/snmp.ini,
/opt/plesk/php/7.0/etc/php.d/soap.ini,
/opt/plesk/php/7.0/etc/php.d/sqlite3.ini,
/opt/plesk/php/7.0/etc/php.d/sysvmsg.ini,
/opt/plesk/php/7.0/etc/php.d/sysvsem.ini,
/opt/plesk/php/7.0/etc/php.d/sysvshm.ini,
/opt/plesk/php/7.0/etc/php.d/tidy.ini,
/opt/plesk/php/7.0/etc/php.d/xmlreader.ini,
/opt/plesk/php/7.0/etc/php.d/xmlrpc.ini,
/opt/plesk/php/7.0/etc/php.d/xmlwriter.ini,
/opt/plesk/php/7.0/etc/php.d/xsl.ini,
/opt/plesk/php/7.0/etc/php.d/zip.ini

so i don't quite understand where the problem lies and could not find a solution to it via google or in the forum.

 

I am new to composer so i'm a bit lost as to how i can fix this.