首頁 >後端開發 >php教程 >Please check your autoconf installation and the $PHP_AUTOCONF environment variable.

Please check your autoconf installation and the $PHP_AUTOCONF environment variable.

WBOY
WBOY原創
2016-06-20 12:29:041487瀏覽

运行/usr/local/webserver/php/bin/phpize时出现:Configuring for:PHP Api Version:         20041225Zend Module Api No:      20060613Zend Extension Api No:   220060519Cannot find autoconf. Please check your autoconf installation and the$PHP_AUTOCONF environment variable. Then, rerun this script.根据网上的解决办法是:# cd /usr/src# 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更简单的办法# yum install m4# yum install autoconf


陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn