>  기사  >  php教程  >  memcache: PHP动态编译出现Cannot find autoconf 动态编译PHP的memcache扩展库

memcache: PHP动态编译出现Cannot find autoconf 动态编译PHP的memcache扩展库

WBOY
WBOY원래의
2016-06-21 08:49:441326검색

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 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
本文链接http://www.cxybl.com/html/wlbc/Php/20130608/38518.html



성명:
본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.