我试过删除skype,但那不工作,我试过关闭万维网的东西,IIS关闭似乎没有什么工作。

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

当前回答

由于@johnkarka对这个问题的评论,这个端口也被SQL Server报告服务使用。在停止此操作后,Apache启动正常。

进入“SQL Server配置管理器” 点击“SQL Server Reporting Service”并停止它

有趣的是,IIS在相同的配置下工作得很好,但Apache不行,必须停止SQL Reporting服务以使其在默认端口(80)上工作。

其他回答

“SQL Server报表服务”在我的系统中导致问题,停止后,Apache开始工作正常

打开任务管理器(Ctrl+Alt+Delete)。 进入“详细信息”页签。 按PID编号排序。 结束使用错误的PID编号的进程。 重启XAMPP。

由于@johnkarka对这个问题的评论,这个端口也被SQL Server报告服务使用。在停止此操作后,Apache启动正常。

进入“SQL Server配置管理器” 点击“SQL Server Reporting Service”并停止它

有趣的是,IIS在相同的配置下工作得很好,但Apache不行,必须停止SQL Reporting服务以使其在默认端口(80)上工作。

对于ASP患者。NET, c#或SQL Server用户,如果您使用SQlServer或Visual Studio,您的端口可能会遇到。你可能想做的最简单的事情是在命令>服务。msc,然后找到SQl Server报表服务,然后停止它。

我写这篇文章,是因为我找不到同样问题的答案。 在我的例子中PID是2484。

你必须找到具有这个PID的进程或服务: 打开cmd(在Windows中)并写入: tasklist 在这个列表中找到您的PID,并读取进程或服务的名称。 现在您可以使用任务管理器来终止这个任务 在进程列表中找到这个名字 单击“结束进程”。

这就是我的情况。可能您必须打开服务。使用您的PID停止服务。

在我的电脑xampp上它工作得很好:)