PHP编译扩展出现Cannot find autoconf的解决方法

PHP编译扩展出现Cannot find autoconf的解决方法

编译redis扩展是遇到Cannot find autoconf情况,以下是解决办法:

➜  phpredis-develop /Applications/MAMP/bin/php/php5.6.30/bin/phpize
Configuring for:
PHP Api Version:         20131106
Zend Module Api No:      20131226
Zend Extension Api No:   220131226
Cannot find autoconf. Please check your autoconf installation and the
$PHP_AUTOCONF environment variable. Then, rerun this script.

解决办法:

➜  brew install autoconf

发表评论

邮箱地址不会被公开。 必填项已用*标注