您的位置:首页 > 运维架构 > Apache

XAMPP的错误Error: Apache shutdown unexpectedly.

2014-04-10 18:29 543 查看
今天试了下XAMMP,居然一下就有错误

18:20:35  [Apache]Error:
Apache shutdown unexpectedly.

18:20:35  [Apache] This may be due to a blocked port, missing dependencies, 

18:20:35  [Apache] improper privileges, a crash, or a shutdown by another method.

18:20:35  [Apache] Check the "/xampp/apache/logs/error.log" file
18:20:35  [Apache] and the Windows Event Viewer for more clues

点击Apache里的 Config 点击httpd-ssl.conf

用ctrl+f 定位Listen 80

将其改为Listen 81或其他没有占用的端口

这实际上是修改下面目录的文件,就是你安装xampp的目录,以我为例,我直接装在c盘

C:\xampp-portable\apache\conf\extra\httpd-ssl.conf

修改后就可以正常运行,如下

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  apache xampp windows