Install/activate PHP “intl” extension running MAMP

前端 未结 2 1697
我寻月下人不归
我寻月下人不归 2020-12-08 12:04

Ok, I\'m running MAMP 1.9.5, which includes PHP 5.3.5, on my MacBook Pro.

The \"intl\" extension isn\'t included/activated and I\'ve tried a lot of different ways to

相关标签:
2条回答
  • 2020-12-08 12:45

    I just compiled on mine the other day.

    I wrote a self reminder post here: http://szemian.wordpress.com/2011/03/21/compiling-intl-extension-for-mamp/

    Let me know if you need further explanation. :)

    0 讨论(0)
  • 2020-12-08 12:47

    The best way is to download PHP for OSX at http://php-osx.liip.ch/ and then copy the intl.so file from

    /usr/local/php5-20121126-100332/lib/php/extensions/no-debug-non-zts-20100525/intl.so
    

    to

    /Applications/MAMP/bin/php/php5.4.4/lib/php/extensions/no-debug-non-zts-20100525/intl.so
    

    Worked like a charm for me for PHP 5.4

    0 讨论(0)
提交回复
热议问题