phpize 编译安装php扩展的时候出现Cannot find autoconf的解决方法
2017-01-05 18:55
886 查看
这是本人整理全手打的,如对你有帮助请点赞支持一下!
当你执行 /home/huoweijie/package/php-7.1.0/scripts/phpize的时候报了以下错误:
Configuring for:
PHP Api Version: 20041225
Zend Module Api No: 20060613
Zend Extension Api No: 220060519
Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF environment variable is set correctly and then rerun this script.
这个时候不要着急,出现这个问题的人挺多的。 按我下面的步骤走一遍即可完美解决。
wget http://ftp.gnu.org/gnu/m4/m4-1.4.9.tar.gz
tar -zvxf m4-1.4.9.tar.gz
cd m4-1.4.9/
./configure && make && make install
cd ../
wget http://ftp.gnu.org/gnu/autoconf/autoconf-2.62.tar.gz
tar -zvxf autoconf-2.62.tar.gz
cd autoconf-2.62/
./configure && make && make install
然后再重新执行上一篇的方法即可。
当你执行 /home/huoweijie/package/php-7.1.0/scripts/phpize的时候报了以下错误:
Configuring for:
PHP Api Version: 20041225
Zend Module Api No: 20060613
Zend Extension Api No: 220060519
Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF environment variable is set correctly and then rerun this script.
这个时候不要着急,出现这个问题的人挺多的。 按我下面的步骤走一遍即可完美解决。
wget http://ftp.gnu.org/gnu/m4/m4-1.4.9.tar.gz
tar -zvxf m4-1.4.9.tar.gz
cd m4-1.4.9/
./configure && make && make install
cd ../
wget http://ftp.gnu.org/gnu/autoconf/autoconf-2.62.tar.gz
tar -zvxf autoconf-2.62.tar.gz
cd autoconf-2.62/
./configure && make && make install
然后再重新执行上一篇的方法即可。
相关文章推荐
- Ubuntu下PHP动态编译出现Cannot find autoconf的解决方法
- PHP动态编译出现Cannot find autoconf的解决方法
- PHP动态编译出现Cannot find autoconf的解决方法
- PHP动态编译出现Cannot find autoconf的解决方法
- PHP动态编译出现Cannot find autoconf的解决方法
- PHP动态编译出现Cannot find autoconf的解决方法
- phpize命令在安装AMQP插件是报错phpize:Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF envir的解决方法
- phpize 时 Cannot find autoconf 解决方法
- PHP动态编译出现Cannot find autoconf 动态编译PHP的memcache扩展库
- 编译安装php时提示Cannot find MySQL header files的解决方法
- PHP动态编译出现Cannot find autoconf
- 编译安装php时提示Cannot find MySQL header files的解决方法
- 编译安装php时提示Cannot find MySQL header files的解决方法
- phpize Cannot find autoconf. 错误解决
- 安装开发语言PHP扩展时遇到Cannot find autoconf
- brew安装php70出现configure: error: Cannot find libz 错误解决方法
- PHP动态编译出现Cannot find autoconf
- 安装php扩展时遇到Cannot find autoconf
- php运用编译模块错误之:Cannot find autoconf.
- 编译PHP报错configure error Cannot find libmysqlclient under usr的解决方法