cancel
Showing results for 
Search instead for 
Did you mean: 

Missing PHP extension (intl, mcrypt): Magento 2.x on Mac OS

Missing PHP extension (intl, mcrypt): Magento 2.x on Mac OS

Hello, I'm installing Magento 2.x (2.1.7) on Mac OS Sierra 10.12.5 (for localhost) and the installation failed during readiness check - PHP Extensions Check (2 missing PHP extension) - PHP Extension mcrypt and PHP Extension intl. My PHP version is 5.6.30.

 

Any advice and assistance is greatly appreciated. Cheers!

4 REPLIES

Re: Missing PHP extension (intl, mcrypt): Magento 2.x on Mac OS

Check PHP/ext folder you should be having dll files for both the extension. If yes then enable both extension from php.ini files.

Thanks,
Tarandeep
Magento 2 Certified Solution Specialist (x2). Follow me on Twitter

Re: Missing PHP extension (intl, mcrypt): Magento 2.x on Mac OS

Thank you for your response. The files were not in the directory path for apache to recognize in php.ini. Once I did that the problem was fixed. Thanks again!

 

cat /usr/local/etc/php/5.6/conf.d/ext-mcrypt.ini >> /etc/php.ini

cat /usr/local/etc/php/5.6/conf.d/ext-intl.ini >> /etc/php.ini

 

Updated to etc/php.ini

[mcrypt]

extension="/usr/local/opt/php56-mcrypt/mcrypt.so"

[intl]

extension="/usr/local/opt/php56-intl/intl.so"

Re: Missing PHP extension (intl, mcrypt): Magento 2.x on Mac OS

I'm have the same problem how did you install the mcrypt and intl extension in the terminal.

I have php 7.1.7

Re: Missing PHP extension (intl, mcrypt): Magento 2.x on Mac OS

Hi @Hierarch
Look for php.ini file and open it and try to find missing php extensions. Remove comment from the starting of the line.
Dont forget to restart the server apache or whatever.

Found something useful, please give "Kudos" or "Accept as Solution" for Token of Appreciation.
Free Magento Extensions : https://magecomp.com/free-magento-extensions.html