Apache Xampp阿帕奇赢得';t启动-端口80可用-日志中无错误
我在Windows8上使用xampp已经有一段时间了,在今天尝试重新启动apache之前,它一直运行良好。 重新启动时,出现以下消息:Apache Xampp阿帕奇赢得';t启动-端口80可用-日志中无错误,apache,xampp,Apache,Xampp,我在Windows8上使用xampp已经有一段时间了,在今天尝试重新启动apache之前,它一直运行良好。 重新启动时,出现以下消息: 17:54:35 [Apache] Error: Apache shutdown unexpectedly. 17:54:35 [Apache] This may be due to a blocked port, missing dependencies, 17:54:35 [Apache] improper privileges, a cras
17:54:35 [Apache] Error: Apache shutdown unexpectedly.
17:54:35 [Apache] This may be due to a blocked port, missing dependencies,
17:54:35 [Apache] improper privileges, a crash, or a shutdown by another method.
17:54:35 [Apache] Check the "/xampp/apache/logs/error.log" file
17:54:35 [Apache] and the Windows Event Viewer for more clues
很久以前,我已经禁用了使用端口80的服务,没有软件在使用它。我已经用netstat命令检查过了。我尝试将端口更改为8080,但问题仍然存在。所以我不认为这是一个港口问题
我的apache error.log和windows事件查看器中没有任何错误消息
有些事情我已经尝试过了,但没有成功:
- 使用管理员权限启动xampp控制面板
- 将apache作为服务安装
- 重新启动我的电脑
- 在我的httpd.conf中添加了这一行:
并在httpd-ssl.conf中取消了这一行的注释:LoadModule socache\u shmcb\u module modules/mod\u socache\u shmcb.so
SSLSessionCache“shmcb:logs/ssl.scache(512000)”
我不知道现在该怎么办。请帮帮我。谢谢大家。检查您的windows防火墙是否已打开。使用windows run box中的firewall.cpl。如果启用,则检查是否允许使用Apache Http服务器(在私有/公共模式下)。如果不允许的话。
如果问题没有解决,请检查xampp/apache/conf目录中的httpd.conf文件。检查第47行中的服务器端口和第35行中的serveroot目录。确保您对该路径具有完全访问权限。也许您应该在Windows中停用IIS,因为有时它会在不显示任何错误的情况下以静默方式阻止端口80。转到Windows控制面板、程序和功能,单击Windows功能打开和关闭,并将复选框设置为关闭 谢谢你的回答。在检查防火墙和httpd.conf之后,一切看起来都正常。问题是apache工作正常,突然停止工作。我已经安装了最新版本的xampp,现在apache工作正常。谢谢