Search code examples
phpxampposx-lionintl

Php-intl installation on XAMPP for Mac Lion 10.8


Hi folks i am trying to install intl library on xampp for mac. I have installed php 5.3, so i just copied intl.so file from the php 5.3 location to Xampp bin folder. After that i uncommented extension=intl.so and restarted the server. Still i dont see intl updated in the phpinfo() (Getting error Class Locale not found)


Solution

  • I just ran this in Terminal.

    sudo pecl install intl
    

    Then just add

    extension=intl.so
    

    to php.ini.