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

XAMPP解决端口占用问题

时间:2017-03-22 21:17:34      阅读:201      评论:0      收藏:0      [点我收藏+]

标签:ssi   net   ssl   shu   error   error:   ges   class   err   

19:36:17  [Apache]     Error: Apache shutdown unexpectedly.
19:36:17  [Apache]     This may be due to a blocked port, missing dependencies, 
19:36:17  [Apache]     improper privileges, a crash, or a shutdown by another method.
19:36:17  [Apache]     Press the Logs button to view error logs and check
19:36:17  [Apache]     the Windows Event Viewer for more clues
19:36:17  [Apache]     If you need more help, copy and post this
19:36:17  [Apache]     entire log window on the forums
点击右侧的Netstat查看下80和443是不是被占用了

1、80Port被占用的情况(这是最常见的)两步解决
1)\XAMPP\apache\conf\ 这个目录下的httpd.conf 文件中 所有80换成82(或88等随意)
2)\XAMPP\apache\conf\extra\ 这个目录下的 httpd-vhosts.conf 所有80换成82(或88等随意)
如此这般80被占就解决了

2、443被占情况
\XAMPP\apache\conf\extra\ 这个目录下的 httpd-ssl.conf 所有443换成445(或其他等随意)

XAMPP解决端口占用问题

标签:ssi   net   ssl   shu   error   error:   ges   class   err   

原文地址:http://www.cnblogs.com/qiuboo/p/6601700.html

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