首页 > 其他 > 详细

xampp

时间:2017-11-20 12:12:48      阅读:257      评论:0      收藏:0      [点我收藏+]

使用XAMPP启动Apache时,遇到如下错误:

15:08:11  [Apache] Error: Apache shutdown unexpectedly.
15:08:11  [Apache] This may be due to a blocked port, missing dependencies, 
15:08:11  [Apache] improper privileges, a crash, or a shutdown by another method.
15:08:11  [Apache] Press the Logs button to view error logs and check
15:08:11  [Apache] the Windows Event Viewer for more clues
15:08:11  [Apache] If you need more help, copy and post this
15:08:11  [Apache] entire log window on the forums
15:08:43  [Apache] Problem detected!
15:08:43  [Apache] Port 80 in use by "C:\WINDOWS\system32\inetsrv\inetinfo.exe" with PID 1196!
15:08:44  [Apache] Apache WILL NOT start without the configured ports free!
15:08:44  [Apache] You need to uninstall/disable/reconfigure the blocking application
15:08:44  [Apache] or reconfigure Apache and the Control Panel to listen on a different port
15:08:44  [Apache] Problem detected!
15:08:44  [Apache] Port 443 in use by "C:\WINDOWS\system32\inetsrv\inetinfo.exe" with PID 1196!
15:08:44  [Apache] Apache WILL NOT start without the configured ports free!
15:08:44  [Apache] You need to uninstall/disable/reconfigure the blocking application
15:08:44  [Apache] or reconfigure Apache and the Control Panel to listen on a different port

系统提示80端口和443端口被占用,通过修改配置文件可以选择未被占用的端口:

1.在\ xampp\apache\conf目录下  ,打开httpd.conf,将里边的80端口全部改成一个未被占用的端口,比如8088
2.在 \ xampp\apache\conf\extra目录下 ,打开httpd-ssl.conf ,将文件里的443端口全部换成一个未被占用的端口,比如1443

重新启动Apache成功!

xampp

原文:http://www.cnblogs.com/xiaokele1314/p/7865518.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!