在Mac OS X Mavericks上安装PECL Zip

时间:2014-03-09 16:10:45

标签: macos zip install mamp pecl

我想为我的本地Web服务器安装PECL Zip扩展,但是我遇到了一个恼人的错误:

Lenny-MacBook-Pro:Downloads lenny$ pecl install zip-1.12.4.tgz 
96 source files, building
WARNING: php_bin /Applications/MAMP/bin/php/php5.5.3/bin/php appears to have a suffix /php5.5.3/bin/php, but config variable php_suffix does not match
running: phpize
grep: /Applications/MAMP/bin/php/php5.5.3/include/php/main/php.h: No such file or directory
grep: /Applications/MAMP/bin/php/php5.5.3/include/php/Zend/zend_modules.h: No such file or directory
grep: /Applications/MAMP/bin/php/php5.5.3/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

我需要安装什么才能使其正常工作?

提前致谢

0 个答案:

没有答案