http://blog.csdn.net/dong123dddd/article/details/21372179 xampp启动时显示的错误为:9:52:41 [Apache] Attempting to start Apache app...9:52:41 [Apache] Status change detected: running 9:52:42 [Apach...
http://blog.csdn.net/dong123dddd/article/details/21372179
xampp启动时显示的错误为:
9:52:41 [Apache]
Attempting to start Apache app...
9:52:41 [Apache]
Status change detected: running
9:52:42 [Apache] Status change detected: stopped
9:52:42 [Apache] Error: Apache shutdown unexpectedly.
9:52:42 [Apache] This may be due to a blocked port, missing dependencies,
9:52:42 [Apache] improper privileges, a crash, or a shutdown by another method.
9:52:42 [Apache] Check the "/xampp/apache/logs/error.log" file
9:52:42 [Apache]
and the Windows Event Viewer for more clues
cmd 通过运行apache/bin/httpd.exe 打印如下log:
或者后面是80端口被占用
一、最快的处理方法就是修改端口号:
在/xampp/apache/conf/extra/httpd-ssl.conf
把Listen 443 修改为 444(可自定义)
端口被占用,apache无法监听80端口,该如何解决呢?
在/xampp/apache/conf/extra/httpd.conf
把Listen 80 修改为 88 (可自定义)
如果配置了vhosts的话请把httpd-vhosts.conf 中端口改为88(同上端口号)
二、 通过cmd中netstat -ano 看看本机80、 443端口被占用没 ----- --这里 可能会被其他程序占用如iis、虚拟机等
2.通过cmd中打印tasklist,查找占用80、443端口的进程名称。
3.taskkill /pid 端口号 杀掉此进程名称,XAMPP重启apache即可。
综上所述第一种方法推荐使用,第二种每次启动都或多或少的再次遇到。
原文:http://www.cnblogs.com/fysola/p/7106714.html
本文标题为:【转载】Apache shutdown unexpectedly启动错误解决方法
基础教程推荐
- Centos7 nginx启动脚本 2023-09-22
- apache 环境下 php 的配置注意事项 2022-09-01
- Docker镜像与容器的导入导出以及常用命令总结 2022-11-24
- Apache Spark源码走读之15 -- Standalone部署模式下的容错性分析 2023-09-28
- apache+tomcat实现session共享 2023-09-08
- centos7 nginx配置ssl证书实现https访问同时http访问 2023-09-22
- Apache索引目录浏览的学习笔记 2023-09-28
- centos 7智熄直接断电导致无法启动 2023-09-23
- win10搭建配置ftp服务器的方法 2022-11-12
- 利用Apache部署静态网站(一) 2023-09-09
