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!

5 REPLIES 5

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.

- Tarandeep
Problem solved?Please give 'Kudos' and accept 'Answer as Solution'.

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.

Was my answer helpful? You can accept it as a solution.
175+ Professional Extensions for M1 & M2
Need a developer?Just visit Contact Us Now

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

Any answer for that I have the same issue. My php version is:

PHP 7.1.16 (cli) (built: Mar 31 2018 02:59:59) ( NTS )

Copyright (c) 1997-2018 The PHP Group

Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies

    with Xdebug v2.6.0, Copyright (c) 2002-2018, by Derick Rethans