【问题标题】:Apache unexpectedly shut down after start on XAMPP (Windows 7)在 XAMPP (Windows 7) 上启动后 Apache 意外关闭
【发布时间】:2014-07-07 23:26:59
【问题描述】:

请注意,我是新手,如果这只是一个愚蠢的错误,请耐心等待。

我的 Win 7 笔记本电脑上有 XAMPP,没有 IIS,没有额外的 MySQL 东西。但是,每次我点击 apache 模块的开始时,都会出现这种情况。

18:18:01  [Apache]  Problem detected!
18:18:01  [Apache]  Port 80 in use by "Unable to open process" with PID 4!
18:18:01  [Apache]  Apache WILL NOT start without the configured ports free!
18:18:01  [Apache]  You need to uninstall/disable/reconfigure the blocking application
18:18:01  [Apache]  or reconfigure Apache and the Control Panel to listen on a different port
18:18:01  [Apache]  Attempting to start Apache app...
18:18:02  [Apache]  Status change detected: running
18:18:02  [Apache]  Status change detected: stopped
18:18:02  [Apache]  Error: Apache shutdown unexpectedly.
18:18:02  [Apache]  This may be due to a blocked port, missing dependencies, 
18:18:02  [Apache]  improper privileges, a crash, or a shutdown by another method.
18:18:02  [Apache]  Press the Logs button to view error logs and check
18:18:02  [Apache]  the Windows Event Viewer for more clues
18:18:02  [Apache]  If you need more help, copy and post this
18:18:02  [Apache]  entire log window on the forums

Skype 和 VMWare 已断开连接,错误日志或 Windows 事件查看器中没有任何内容,据我所知,端口 80 是空闲的

欢迎任何建议。

非常感谢

编辑:感谢您的回答。原来与 Microsoft WebMatrix 一起发布的 Web 部署服务是罪魁祸首。非常感谢。

【问题讨论】:

    标签: apache webserver xampp windows-7-x64


    【解决方案1】:

    从错误日志可以看出80端口是开放的

    Open a CMD prompt and type in command: net stop was /y
    
    Run Dialog Box (press keys Win+R) .. then type: services.msc
    

    然后我向下滚动到:万维网发布服务双击它并单击停止(如果此服务状态为已启动)

    Start Apache again with XAMPP :)
    

    链接参考:http://www.sitepoint.com/unblock-port-80-on-windows-run-apache/

    【讨论】:

      猜你喜欢
      • 2016-04-15
      • 2021-06-28
      • 2013-03-05
      • 2022-01-21
      • 2016-12-05
      • 2021-10-04
      • 2020-09-27
      • 2020-03-01
      • 2013-08-20
      相关资源
      最近更新 更多