Error: Apache shutdown unexpectedly.
来源:互联网 发布:ubuntu挂载点设置 编辑:程序博客网 时间:2024/05/16 04:38
碰到这个问题,我就惊了。没感觉自己哪里出问题了呀,突然的,就不行了。再改回去?好像只能如此了。但是,你别慌。出现问题,总得解决掉这个问题。
先展示xampp的控制器的输出错误:
14:22:35 [Apache] Error: Apache shutdown unexpectedly.
14:22:35 [Apache] This may be due to a blocked port, missing dependencies,
14:22:35 [Apache] improper privileges, a crash, or a shutdown by another method.
14:22:35 [Apache] Press the Logs button to view error logs and check
14:22:35 [Apache] the Windows Event Viewer for more clues
14:22:35 [Apache] If you need more help, copy and post this
14:22:35 [Apache] entire log window on the forums
就是这个错误,晚上很多,但是,无非是一种原因,估计是,apache作为服务器使用的少吧。毕竟java作为了主流,都用上tomcat了。
看错误提示,这个错误提示里边说明端口被占用了,出现这么个错误提示,好吧。那就去找被占用的那个端口的pid,去结束进程。至于怎么解决关闭被占用的端口,去网上百度,很多。多用几遍就知道了。
本来想着,不想修改端口号的,毕竟80端口,都想要用的。那么只能去关闭进程了。但是,万万没想到啊,端口号没有被占用。这个才是最痛苦的,找错了方向,看什么东西都感觉是错误的。看看这儿,改改那,还是找不到问题。
再上网搜,看到了一片,去查找错误日志,对,人也傻,去找日志吧。日志错误就不给这儿提示了。也不正确,但是,给出了一个路径。但是,这个路径在之前,我已经修改了,好像是出现了缓存的问题。但是,关电脑重启,也不行。好吧,激动的心情顿时交了一盆凉水。
偶然间,看到了自己的DocumentRoot 的路径,后边多了一个斜杠,好吧。去掉,然后,启动apache,成功。问题解决。为什么总结?
因为,除了,端口被占用,这个配置出现问题,也会出现这个错误提示。
就记录到这儿吧。
- Error: Apache shutdown unexpectedly.
- 122、Error: Apache shutdown unexpectedly
- XAMPP Error: Apache shutdown unexpectedly
- Apache出现Error:Apache shutdown unexpectedly怎么办?
- XAMPP APACHE Error: Apache shutdown unexpectedly
- XAMPP Error: Apache shutdown unexpectedly. 解决思路
- XAMPP的错误Error: Apache shutdown unexpectedly.
- XAMPP Error: Apache shutdown unexpectedly. 解决思路
- XAMPP Error: Apache shutdown unexpectedly. 解决思路
- XAMPP Error:Apache shutdown unexpectedly 解决方案
- XAMPP Apache 启动异常- Error: Apache shutdown unexpectedly.
- 运行XAMPP中的apache出现 Error: Apache shutdown unexpectedly
- XAMPP:Apache —— Error: Apache shutdown unexpectedly.
- XAMPP中apache出现错误 Error: Apache shutdown unexpectedly.
- XAMPP:Apache shutdown unexpectedly
- Apache shutdown unexpectedly解决方法
- Apache shutdown unexpectedly
- Apache shutdown unexpectedly解决方法
- background-image:url();url中怎么写;以及区分background属性;
- Ubuntu16.04 开机开启小键盘数字键,时默认开NumLock灯
- 时间工具类,DateUtil 你想要的时间问题都不是问题
- Fiddler “The system proxy was changed,click to reenable fiddler capture”
- 多米诺骨牌
- Error: Apache shutdown unexpectedly.
- Kotlin委托
- unity5.0 添加图片纹理
- fabric源码解析17——chaincode的元数据
- bias and variance
- 微商大咖不轻易透露的操作秘诀
- JavaScript面试题
- DNS over TLS到底有多牛?你想知道的都在这儿
- trustzone