一般出现这个错误说明你执行 ./configure时--with-php-config这个参数配置路径错误导致的。
修改为:
./configure --with-php-config=/usr/local/php/bin/php-config
就可以解决问题
上面的 /usr/local/php/ 是你的 php 安装路径
[php] Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF environme
在 centos 中,对 php 扩展进行编译安装时,出现下面的提示
1
Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF environment variable. Then, rerun this script.
解决方法:
yum install autoconf
原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。
如有侵权,请联系 cloudcommunity@tencent.com 删除。
原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。
如有侵权,请联系 cloudcommunity@tencent.com 删除。