我正在尝试使用以下命令在 Mac 10.6“Snow Leopard”上安装 PHP intl 扩展:
须藤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 扩展?