您的位置:首页 > 其它

XAMPP Apach无法启动

2013-10-30 11:53 375 查看
XAMPP安装成功后,启动Apach服务总是失败,提示如下Log:

11:37:38 [Apache]
Error: Apache shutdown unexpectedly.

11:37:38 [Apache] This may be due to a blocked port, missing dependencies,

11:37:38 [Apache] improper privileges, a crash, or a shutdown by another method.

11:37:38 [Apache] Press the Logs button to view error logs and check

11:37:38 [Apache] the Windows Event Viewer for more clues

11:37:38 [Apache] If you need more help, copy and post this

11:37:38 [Apache] entire log window on the forums

后来,看了一下,原来是80端口和443端口被skype程序占用;

修改配置文件:

httpd.conf -> 80端口修改为其他端口8082 或者其他的

httpd_ssl.conf -> 443端口修改为其他端口4435或者其他

另外检查一下serverName是否是有效的

XAMPP安装之后,启动Apache,可以修改跟目录为我们放置脚本的目录:

修改方法:

httpd.conf ->

修改下面的路径到指定目录即可:

#DocumentRoot "C:/Program Files (x86)/xampp/htdocs"

#<Directory "C:/Program Files (x86)/xampp/htdocs">
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: