【问题标题】:XAMPP Apache Won't Start (I have changed the ports)XAMPP Apache 无法启动(我已更改端口)
【发布时间】:2016-04-22 23:21:59
【问题描述】:

我四处寻找同样的问题,但修复对我不起作用。我正在尝试在 Xampp 上运行我的 Apache 服务器,但我得到了这个:

Problem detected!
23:01:34  [Apache]  Port 80 in use by "Unable to open process" with PID 5792!
23:01:34  [Apache]  Apache WILL NOT start without the configured ports free!
23:01:34  [Apache]  You need to uninstall/disable/reconfigure the blocking application
23:01:34  [Apache]  or reconfigure Apache and the Control Panel to listen on a different port
23:01:34  [Apache]  Problem detected!
23:01:34  [Apache]  Port 443 in use by "Unable to open process" with PID 5792!
23:01:34  [Apache]  Apache WILL NOT start without the configured ports free!
23:01:34  [Apache]  You need to uninstall/disable/reconfigure the blocking application
23:01:34  [Apache]  or reconfigure Apache and the Control Panel to listen on a different port

我没有打开 Skype,即使有,我也更改了 Apache 的端口(我使用的是 8080 和 4433)。我看过 youtube 视频并在论坛上搜索过,但我无法解决我的问题。 如果有人知道如何解决它,我会爱你直到时间的尽头。谢谢!

(我可能会补充一点,我已经尝试安装 apache,而不是从 Xampp 安装,但我删除了它,因为我认为它可能会监听这些端口。不过,什么都没有......)

*编辑 我已经关闭了一些我之前启用的功能,因为之前我曾尝试将 IIS 用于相同的目的。现在我已经关闭了这些功能,我不会像以前那样收到错误。事实上,我不再收到任何错误,但如果我尝试启动 Apache,它只会显示“正在尝试启动 Apache 服务...”并保持这种状态。

PS 我使用的是 Windows 7

【问题讨论】:

  • 使用微软名为process explorer的程序,找出编号为5792的进程并关闭它
  • 取决于您的环境,但在 Linux 上您运行 sudo netstat -tulpn,它将列出 ip:port 和进程名称。

标签: php apache server xampp


【解决方案1】:

已解决:我将端口更改为 8088,因为 Tomcat(这是 XAMPP 的另一个功能)似乎使用 8080。Apache 现在启动了。

【讨论】:

    猜你喜欢
    • 2016-11-10
    • 2017-08-20
    • 2013-07-27
    • 1970-01-01
    • 2013-03-02
    • 2012-11-29
    • 2018-02-28
    • 1970-01-01
    • 2017-07-01
    相关资源
    最近更新 更多