- PHP编译完成后,想要动态添加模块时报错
Cannot find autoconf. Please check your autoconf installation and the
$PHP_AUTOCONF environment variable. Then, rerun this script.
Autoconf是一个用于生成可以自动地配置软件源代码包以适应多种Unix类系统的shell脚本的工具。
解决方法:
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
PHP编译后动态添加模块时autoconf出错
本文介绍了解决PHP编译过程中无法动态添加模块的问题。通过安装m4和autoconf工具,修复了找不到autoconf导致的错误。提供了详细的步骤指导。

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



