码迷,mamicode.com
首页 > 其他好文 > 详细

xampp

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

标签:log   imp   shutdown   art   通过   端口被占用   提示   error log   cat   

使用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

标签:log   imp   shutdown   art   通过   端口被占用   提示   error log   cat   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!