【QA3】apache2启动失败问题

关键字:[notice] child pid  exit signal segmentation fault site:*.apache.org

问题如下图:

在apache官网找到如下:https://issues.apache.org/bugzilla/show_bug.cgi?id=20421

此问题在2003年的时候就出现过,持续到现在,约十年之久,却被我又遇到。接下来想办法解决:

(1).检查配置文件,依赖moudle等,gdb得到apache-core,但是内存崩溃,也未解决问题。

(2).卸载apache,重装:

1、sudo apt-get remove apache2
2、sudo apt-get remove apache2.2-common
3、sudo apt-get autoremove (此命令会自动卸载PHP)

还在继续尝试中,问题解决之后继续补充。

=====================================================

错误:

sudo service apache2 start  * Starting web server apache2  

Syntax error on line 160 of /etc/apache2/apache2.conf: Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration Action 'start' failed. The Apache error log may have more information. 

解决方法:

在终端里输入如下命令即可:

sudo a2enmod authz_host;

------------------------------------------------------------------------------------

今天使用 CodeIgniter的时候出现了HTTP 500错误,查看日志发现以下错误

CodeIgniter_2.0.2/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration

解决办法:

RewriteEngine命令需要rewrite mod的支持,

打开apache的配置文件httpd.conf ,取消 LoadModule rewrite_module modules/mod_rewrite.so前的注释

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值