我想在Mac上安裝10.6「雪豹」的PHP擴展國際使用以下命令:的Mac 10.6 - 無法安裝PHP國際
sudo的PECL安裝國際
...但得到出現以下錯誤:
running: phpize
grep: /usr/include/php/main/php.h: No such file or directory
grep: /usr/include/php/Zend/zend_modules.h: No such file or directory
grep: /usr/include/php/Zend/zend_extensions.h: No such file or directory
Configuring for:
PHP Api Version:
Zend Module Api No:
Zend Extension Api No:
Cannot find autoconf. Please check your autoconf installation and the
$PHP_AUTOCONF environment variable. Then, rerun this script.
ERROR: `phpize' failed
我正在使用PHP 5.3.4捆綁的Apache服務器。
有誰知道如何安裝intl擴展?
不支持MAMP國際開箱? – 2011-05-03 16:27:07
它似乎沒有,這個鏈接指出,編譯是必要的:http://szemian.wordpress.com/2011/03/21/compiling-intl-extension-for-mamp/ – 2011-05-03 16:40:48
嗯,我會發誓它做到了。我會研究它 – 2011-05-03 16:42:27