首页 文章

在XAMPP for Windows上:Apache突然关闭

提问于
浏览
0

我最近开始使用XAMPP for Windows . 昨天,它工作得很好,但不是今天 . 我已经禁止从Skype使用端口80和4xx(在看到很多帖子之后),甚至从启动时删除了该软件 . MYSQL和FileZilla在XAMPP上运行得很好,但是当我尝试使用Apache(我可以将其作为服务安装)时,我得到了这个:

Attempting to start Apache app...
Executing "f:\xampp\apache\bin\httpd.exe"
Return code: 0
Status change detected: running
Status change detected: stopped
Error: Apache shutdown unexpectedly.
This may be due to a blocked port, missing dependencies, 
improper privileges, a crash, or a shutdown by another method.
Press the Logs button to view error logs and check
the Windows Event Viewer for more clues
If you need more help, copy and post this
entire log window on the forums

现在,我也在事件查看器上获取此信息:“事件日志不可用 . 验证服务是否正在运行 . ”当我去服务并尝试初始化Apache2.4时,它会给我一条消息,然后从服务列表中消失 .

我可以在安装serivce时启动Apache,然后单击“开始”,但它会卡在“尝试启动Apache服务......”并且没有任何反应 .

我也点击Apache的“开始”而不安装服务,那就是我得到上面的长错误 .

当我再次单击“启动”时,在“尝试启动Apache服务..”之后,我收到“检测到状态更改:正在运行”,然后立即“检测到状态更改:已停止”,然后再次

Error: Apache shutdown unexpectedly.
This may be due to a blocked port, missing dependencies, 
improper privileges, a crash, or a shutdown by another method.
Press the Logs button to view error logs and check
the Windows Event Viewer for more clues
If you need more help, copy and post this
entire log window on the forums

不知道现在该怎么办 . 请帮忙 .

2 回答

  • 1

    我有同样的问题 . XAMPP昨天也在工作,今天早上还没能开始 . 我的错误日志今天没有显示任何内容,但是有一些昨天的日志 . 如果我找到答案,我会通知你......

    编辑:我重新安装了XAMPP,现在一切似乎都运行良好 . 我知道不是一个理想的答案......

  • 0

    也许你已经同时选择了Skype,因为Apache的端口与skype相同 . 所以当Apache存在混乱时,Apache拒绝回应 .

相关问题