我试过删除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

当前回答

您可能需要停止“Web部署代理服务”

按Win+R,输入services.msc

右键单击Web部署代理服务,选择“停止”

重启XAMPP

双击“Web部署代理服务”后,可以将启动类型设置为“手动”,这样“Web部署代理服务”就不会自动启动

其他回答

在httpd.conf中修改以下行,然后重新启动应用程序:

听80转听8080 ServerName localhost:80到ServerName localhost:8080

当你按下“开始”,应用程序仍然可以说你有一个错误,如“端口80被无法打开进程PID…”,但它仍然会工作。

如果错误包含“端口443正在被“无法打开进程”的PID…”,您需要同时修改httpd.conf和httpd-ssl.conf。

在httpd-ssl.conf中更改:

听443转听4433 <VirtualHost _default_:443>到<VirtualHost _default_:4433> ServerName www.example.com:443 ~ ServerName www.example.com:4433

将主端口80更改为8080后,您必须在控制面板中更新端口: 然后点击这里: 在这里: 然后保存并重新启动。

对我来说通常有效: -关闭Skype —关闭“services.msc”中显示的所有SQL Server进程 -关闭services.msc中的万维网出版

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

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

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

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

在Xampp控制面板上单击services(文件名为services。Msc,额外信息)。

首先,查看IIS是否正在运行。停止它(单击服务名称后停止左侧的该服务选项)。然后,这是主要的问题,寻找Web部署服务(不是确切的名称,尽管它在一开始就有Web部署。)也停止这个服务。再试一次,Apache应该可以工作。

如果你正在运行Skype,也退出,运行Apache,然后启动Skype