[Apache] Error: Apache shutdown unexpectedly错误解决

Apache无法启动,报错如下:

20:41:12  [Apache] Error: Apache shutdown unexpectedly. 
20:41:12  [Apache] This may be due to a blocked port, missing dependencies, 
20:41:12  [Apache] improper privileges, a crash, or a shutdown by another method. 
20:41:12  [Apache] Check the "/xampp/apache/logs/error.log" file 

20:41:12  [Apache] and the Windows Event Viewer for more clues 

这个时候很有可能出现的原因是端口被占用了




修改以后记住自己改的端口号,这时候打开Apache  config中的httpd.conf


这里改成你之前换的端口号,当然还有Apache  config中的httpd-ssl.conf


改完以后重新启动Apache就可以了  

当然如果还是不行,就还有一种情况也会报这样的错误就是你的Apache  config中的httpd-ssl.conf或者是httpd.conf里面的东西被篡改了,从别人那里拷贝一份,粘贴到你响应的文件下  并把端口改一下就OK了

  • 27
    点赞
  • 45
    收藏
    觉得还不错? 一键收藏
  • 11
    评论
评论 11
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值