I'm trying to install Magento (2.3.0) on macOS Mojave. Magento shows PHP Extension intl.
is missing.
I tried the below to resolve:
- Made a copy of php.ini using
cp /etc/php.ini.default php.ini
- Removed ";" before
extension=php_intl.dll
- Restart Apache
sudo apachectl restart
But the above did not resolve.
On checking php -v
, i'm seeing the below error:
PHP Warning: PHP Startup: Unable to load dynamic library
'/usr/lib/php/extensions/no-debug-non-zts-20160303/php_intl.dll' -
dlopen(/usr/lib/php/extensions/no-debug-non-zts-20160303/php_intl.dll,
0x0009): dlopen(): file not found: /usr/lib/php/extensions/no-debug-
non-zts-20160303/php_intl.dll in Unknown on line 0
PHP 7.1.19 (cli) (built: Aug 17 2018 20:10:18) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies
There are only 2 files under /usr/lib/php/extensions/no-debug-non-zts-20160303
namely opache.so
and xdebug.so
How can i install or enable "PHP Extension intl" on my macOS Mojave?
extension=php_intl.dll
should beextension=php_intl.so
, because this is not Windows. – Whiteheadedal-OSX:sbin konathal$ php -i | grep intl PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20160303/php_intl.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20160303/php_intl.so, 0x0009): dlopen(): file not found: /usr/lib/php/extensions/no-debug-non-zts-20160303/php_intl.so in Unknown on line 0
– Laris