pecl install intl This should compile some things, and if successful, the installation should complete with: Build process completed successfully Use PHP's package manager to install intl by running $ sudo. I had issues with intl when using Moodle, which I fixed by doing the following: Thanks via Homebrew brew install autoconf automake
Thanks installing 'intl' you have to install Autoconf if you have not installed it. You can check if Intl was installed successfully root$: php -m | grep intl #should return 'intl'įrom extensions list in /Applications/XAMPP/xamppfiles/etc/php.ini file Add / Uncomment extension=intl.so line. Install Intl via PECL root$: sudo pecl update-channels You need to change your OSx php root$: PATH='/Applications/XAMPP/xamppfiles/bin:$' If you are using xampp on your mac it should be /Applications/XAMPP/xamppfiles/bin/php These below steps helped me, Just in case if you are using OSXĬheck which php path is set i.e.