我想在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