欢迎访问 生活随笔!

生活随笔

当前位置: 首页 >

Linux安装PHP报错Sorry, I cannot run apxs. Possible reasons follow:

发布时间:2024/9/19 48 豆豆
生活随笔 收集整理的这篇文章主要介绍了 Linux安装PHP报错Sorry, I cannot run apxs. Possible reasons follow: 小编觉得挺不错的,现在分享给大家,帮大家做个参考.

问题 

Sorry, I cannot run apxs.  Possible reasons follow:​1. 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)​The output of /usr/local/apache/bin/apxs follows:./configure: line 6669: /usr/local/apache/b in/apxs: No such file or directoryconfigure: error: Aborting

方法

#yum install -y perl* ​#yum install -y httpd-devel

http://blog.sina.com.cn/s/blog_b5dfe4870102waso.html

总结

以上是生活随笔为你收集整理的Linux安装PHP报错Sorry, I cannot run apxs. Possible reasons follow:的全部内容,希望文章能够帮你解决所遇到的问题。

如果觉得生活随笔网站内容还不错,欢迎将生活随笔推荐给好友。