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">
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">
相关文章推荐
- 修改apache上传文件大小限制
- windows下安装和使用geany
- 比古数据采集器 - 关于数据采集软件的一点思路 .
- u-boot的环境变量详解
- HOOK技术
- jsp指令 详解
- JSP脚本和指令的使用
- java 中的 加密
- java 中 路径的获取 (转)
- IO 总结 (转)
- mysql 模糊查询
- html 特殊字符(转)
- HTML 标签大全(转)
- js中,参数的配置
- js删除前 让用户确定
- 随感
- js 转换文本框的值(转)
- 关于管理者应该拥有的的六十…
- java 正则式
- Tomcat:IOException while …