PHP动态编译出现Cannot find autoconf
在安装完PHP后,想动态编译PHP的memcache扩展库 cd memcache-2.2.5/ /usr/local/webserver/php/bin/phpize ./configure --with-php-config=/usr/local/webserver/php/bin/php-config 但是执行/usr/local/webserver/php/bin/phpize时出现错误: Configuring for
在安装完PHP后,想动态编译PHP的memcache扩展库
cd memcache-2.2.5/
/usr/local/webserver/php/bin/phpize
./configure --with-php-config=/usr/local/webserver/php/bin/php-config
但是执行/usr/local/webserver/php/bin/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
上一篇: 范例讲解PHP常用语法应用_PHP教程
下一篇: php 通过点击事件或点击(内容文字或图片)执行sql语句如何实现
推荐阅读
-
PHP动态编译出现Cannot find autoconf
-
编译php5.6出错:configure: error: Cannot find OpenSSL's
-
编译php报错:/usr/bin/ld: cannot find -liconv解决办法
-
运作phpize时出现:Cannot find autoconf. Please check your autoconf installation
-
编译PHP报错configure error Cannot find libmysqlclient under usr的解决方法
-
编译PHP报错configure error Cannot find libmysqlclient under usr的解决方法
-
PHP动态编译出现Cannot find autoconf的解决方法
-
运作phpize时出现:Cannot find autoconf. Please check your autoconf installation
-
PHP动态编译出现Cannot find autoconf的解决方法,cannotautoconf
-
PHP动态编译出现Cannot find autoconf的解决方法