How can I install Intl on my XAMPP server on OS X?
I tried modifying my XAMPP>etc>php.ini and uncommenting the line:
Installing "intl" extension on OSX.
$ which php
You should get
if not, you will get
This is OSX' php. So, you have to change it by using:
$ brew install icu4c
It takes a couple of times and returns its path to you, should look something like this:
$ sudo pecl update-channels
$ sudo pecl install intl
It will prompt you to put the icu4c path. After finish installing icu4c, put the following statement to php.ini
$ php -m | grep intl
should return 'intl'