【问题标题】:XAMPP Apache service stoppedXAMPP Apache 服务已停止
【发布时间】:2015-09-21 19:32:17
【问题描述】:

我无法运行 Apache 并从 XAMPP 控制面板收到以下错误。发生这种情况时,我已经重新安装了 Windows……不确定,但我假设。我已经从 D 盘安装了 XAMPP。

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

注意:在发布此 question 之前,我已阅读此问题,但没有运气。

如何修复 Apache 错误?

【问题讨论】:

    标签: php apache xampp


    【解决方案1】:

    当我遇到此类问题时,我通常会做/检查这些事情:

    1. 禁用 Windows 防火墙
    2. 删除使用端口 80 的应用程序或将其端口更改为 80 以外的其他端口(另一个 Apache 安装、wamp、Skype 等)
    3. 以管理员身份启动 xampp(右键单击桌面中的 xampp 图标 > 以管理员身份运行)
    4. 我用于故障排除的一些命令:netstattelnet
    5. 阅读 Windows 事件查看器了解更多信息(转到 Windows 并输入 eventvwr.exeENTER
    6. 你也可以把xampp的端口改成81或者8080

    【讨论】:

      猜你喜欢
      • 2018-05-20
      • 1970-01-01
      • 2015-02-08
      • 2017-04-17
      • 2016-06-02
      • 1970-01-01
      • 1970-01-01
      • 2012-05-02
      • 2013-11-16
      相关资源
      最近更新 更多