云深处 发表于 2017-12-24 21:45:49

xampp中apache点击启动失败解决方法

  错误提示:
  9:15:53 AM Error: Apache shutdown unexpectedly.
  9:15:53 AM This may be due to a blocked port, missing dependencies,
  9:15:53 AM improper privileges, a crash, or a shutdown by another method.
  9:15:53 AM Press the Logs button to view error logs and check
  9:15:53 AM the Windows Event Viewer for more clues
  9:15:53 AM If you need more help, copy and post this
  9:15:53 AM entire log window on the forums
  解决方法:
  1.80端口冲突,解决方法:
  打开目录C:\xampp\apache\conf(我的安装目录为C:\xampp)下的httpd.conf文件,将Listen 80和 ServerName localhost:80中的80改为8081或其它值(尽量不要使用0-1023端口,这个是系统保留端口),要保持一致。
  2.监听端口443冲突,解决方法:
  打开目录C:\xampp\apache\conf\extra (我的安装目录为C:\xampp)下的httpd-ssl.conf文件,将Listen 443这句注释掉:# Listen 443或将443改为4433或其它值(尽量不要使用0-1023)。
  再修改了以上两个端口后,再次启动apache,it works!
  9:18:03 AM Problem detected!
  9:18:03 AM Port 80 in use by "D:\Program Files\Skype\Phone\Skype.exe" with PID 4808!
  9:18:03 AM Apache WILL NOT start without the configured ports free!
  9:18:03 AM You need to uninstall/disable/reconfigure the blocking application
  9:18:03 AM or reconfigure Apache and the Control Panel to listen on a different port
  9:18:03 AM Problem detected!
  9:18:03 AM Port 443 in use by "D:\Program Files\Skype\Phone\Skype.exe" with PID 4808!
  9:18:03 AM Apache WILL NOT start without the configured ports free!
  9:18:03 AM You need to uninstall/disable/reconfigure the blocking application
  9:18:03 AM or reconfigure Apache and the Control Panel to listen on a different port
  9:18:03 AM Attempting to start Apache app...
  9:18:03 AM Status change detected: running
页: [1]
查看完整版本: xampp中apache点击启动失败解决方法