
I’m about to loose my temper when I decide to check where is located composer file. Guess what?! Another machine (MacBook Pro) – the solution is not working. This is not a proper solution – I want something which will enforce to use the proper PHP and there will be no misunderstandings. The mcrypt extension is the standard PHP extension for encryption and hashing functionality. The PHP extension mcrypt is often not distributed with stock PHP packages. usr/bin/php /usr/local/bin/composer -repository-url= magento/project-community-edition.

Execute Composer with PHP full path (it worked for Magento 1 through magerun but not for Magento2):.Why I need two PHP (the brew version and mamp) to run in the same system? I’m not happy with this solution as in my opinion it defies the purpose of having MAMP PRO into the system.
#INSTALL MAGENTO MAMP INSTALL#

magento/magento2-base 2.1.5 requires ext-intl * -> the requested PHP extension intl is missing from your system. Installation request for magento/magento2-base 2.1.5 -> satisfiable by magento/magento2-base. magento/framework 100.1.5 requires ext-mcrypt * -> the requested PHP extension mcrypt is missing from your system. Installation request for magento/framework 100.1.5 -> satisfiable by magento/framework. The entire error looks like this: Problem 1
#INSTALL MAGENTO MAMP UPDATE#
I got a bit tired of this error, it’s a bit of nightmare to setup Magento2 on OSX using the MAMP PRO PHP in CLI.Īs composer is not able to pick the MAMP php but instead is loading the native one (if u’re in a hurry go to end of article, to update 2, for the solution). Magento2, Problems & Bugs, Uncategorized Serg PHP extension mcrypt, intl, … missing as composer uses default environment
