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

当前回答

另一个非常简单的选项是将Apache设置为侦听不同的端口。这可以通过点击“Apache”模块同一行的“Config”按钮来完成,在下拉菜单中选择“httpd.conf”文件,然后将“Listen 80”行更改为“Listen 8080”。保存文件并关闭。

现在它避免使用端口80,而是使用端口8080,没有问题。您需要做的唯一额外的事情是确保将localhost:8080放在浏览器中,这样浏览器就知道要查看端口8080。否则它默认为端口80,不会找到您的本地站点。

这还需要重新启动Apache以使更改生效。

瞧!固定的。

其他回答

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

对我有用的是停止Internet信息服务(IIS)。如果你使用的是Windows 7,点击“开始”按钮,在搜索框中输入“iis”。点击“Internet信息服务(IIS)管理器”。当窗口弹出时,假设您没有选中任何图标,您应该能够单击右侧操作窗格上的Stop。我的XAMPP Apache启动了。希望你能如愿以偿。

在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

我也遇到过同样的问题,当我安装MS WebMatrix时,IIS服务器阻塞了XAMPP正在运行的80端口。我试图找到万维网出版服务并停止它,但在列表中找不到它。最好的方法是更改端口。

请参考这个 链接ref。

它通常工作后,你停止IIS服务器和Skype