运行/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. Then, rerun this script.
根据网上的解决办法是:
# cd /usr/src
# wget http://ftp.gnu.org/gnu/m4/m4-1,4,17.tar.gz
# tar -zvxf m4-1.4.17.tar.gz
# cd m4-1.4.17/
# ./configure && make && make install
# cd ../
# wget http://ftp.gnu.org/gnu/autoconf/autoconf-2.62.tar.gz
# tar -zvxf autoconf-2.69.tar.gz
# cd autoconf-2.69/
# ./configure && make && make install
更简单的办法
# yum install m4
# yum install autoconf
Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF environment vari
最新推荐文章于 2025-04-25 14:22:57 发布
本文介绍了解决运行phpize时遇到的找不到autoconf的问题。提供了两种解决方案,一种是手动下载并安装m4和autoconf,另一种是通过yum命令快速安装所需组件。
407

被折叠的 条评论
为什么被折叠?



