给Mac的PHP添加gettext扩展
本来以为就这么简单,下载与Mac匹配的PHP源码,然后 cd ext/gettext phpize ./configure make sudo make install 谁知道遇到错误:configure: error: Cannot locate header file libintl.h google了一下,这里有解决办法:PHP with Intl and Gettext on OSX Lion。 ...
本来以为就这么简单,下载与Mac匹配的PHP源码,然后 cd ext/gettext phpize ./configure make sudo make install 谁知道遇到错误:configure: error: Cannot locate header file libintl.h google了一下,这里有解决办法:PHP with Intl and Gettext on OSX Lion。 ...