Question

I have MAMP & MAMP PRO.

I tried to install Magento 2 beta. When i write "composer install" the system returns me this error:

Your requirements could not be resolved to an installable set of packages.

Problem 1 - The requested PHP extension ext-mcrypt * is missing from your system.

I have check the services of system and mcrypt is enabled.

How i can solve?

Thanks

Was it helpful?

Solution

Create a file called .bash_profile on your home directory (if you don't have this file already), and add this to the file:

export PATH=/Applications/mamp/bin/!YOUR-PHP-VERSION!/bin:$PATH

@ https://stackoverflow.com/questions/10857068/change-the-php-path-to-mamps-php

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top