展会信息港展会大全

PHP动态编译出现Cannot find autoconf
来源:互联网   发布日期:2016-03-02 15:11:30   浏览:1850次  

导读: 在安装完PHP后,想动态编译PHP的memcache扩展库 cd memcache-2.2.5/ /usr/local/webserver/php/bin/phpize ./co...

在安装完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时出现错误:

Configuringfor:

PHPApi Version:20041225

ZendModule Api No:20060613

ZendExtension Api No:220060519

Cannotfind autoconf.Please check your autoconf installation and the $PHP_AUTOCONFenvironment variable is setcorrectly 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

赞助本站

人工智能实验室

相关热词: 开发 编程 android

相关内容
AiLab云推荐
展开

热门栏目HotCates

Copyright © 2010-2024 AiLab Team. 人工智能实验室 版权所有    关于我们 | 联系我们 | 广告服务 | 公司动态 | 免责声明 | 隐私条款 | 工作机会 | 展会港