- Perl is not installed 2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs 3. Apache was not built using --enable-so (the apxs usage page is displayed)
解决方法:
找到apache目录下的apxs脚本文件,然后编辑它,把第一行的注释的地方修改为perl的可执行路径(首先要保证你安装过perl,没有安装请先行安装),如
yum install perl perl-devel
vi /usr/local/apache2/bin/apxs
#!/usr/bin/perl -w ####原来为 /replace/with/path/to/perl/interpreter
本文转自 虾米的春天 51CTO博客,原文链接:http://blog.51cto.com/lsxme/2053717,如需转载请自行联系原作者