Windows 8上的WAMPSERVER无法启动

问题描述 投票:10回答:4

我刚刚在WIN 8计算机上安装了WAMPSERVER(Apache / 2.4.9(Win64),当尝试启动它时,其图标始终为红色/橙色(不是绿色)。从服务尝试运行服务时,出现以下错误消息:

“

从偶数日志中,我看到以下多个错误

The wampapache64 service terminated with the following service-specific error: 
Incorrect function.

The Apache service named  reported the following error:
>>> (OS 10013)An attempt was made to access a socket in a way forbidden by its access        permissions.  : AH00072: make_sock: could not bind to address 0.0.0.0:80 

The Apache service named  reported the following error:
>>> (OS 10013)An attempt was made to access a socket in a way forbidden by its access   permissions.  : AH00072: make_sock: could not bind to address [::]:80    

The Apache service named  reported the following error:
>>> AH00015: Unable to open logs    

The Apache service named  reported the following error:
>>> AH00451: no listening sockets available, shutting down  

The wampapache64 service terminated with the following service-specific error: 
Incorrect function.  

The Apache service named  reported the following error:
>>> (OS 10013)An attempt was made to access a socket in a way forbidden by its access  permissions.  : AH00072: make_sock: could not bind to address [::]:80.
wampserver
4个回答
21
投票

[好,我知道了:IIS而不是Skype正在使用我机器的端口80。这是我发现的方式:

左键单击 WAMPManager图标以显示菜单。单击Apache服务测试端口80。这将启动命令窗口,并显示有关使用端口80的内容的信息。您可以在http://forum.wampserver.com/read.php?2,122527中找到更多详细信息。

配置Apache以在其他端口上侦听由于我想继续在端口80上运行IIS,因此我决定在其他端口上运行WAMP Server。所以这就是我的做法。

我必须更改http.conf文件,在我的情况下该文件位于文件夹C:/WAMP/bin/apache/apache2.4.9/conf/中。将其打开(例如,使用记事本)并搜索80。我不得不在不同的地方更改以下三行:

Listen 0.0.0.0:80         # Changed to Listen 0.0.0.0:81
Listen [::0]:80           # Changed to Listen [::0]:81
ServerName localhost:80   # Changed toServerName localhost:81

现在我在Windows 8上看到了WAMP Server的绿色图标。

关于http://forum.wampserver.com/read.php?2,13744的更多详细信息。


7
投票

如果正在运行Skype,则必须在Skype中执行以下操作:在菜单栏中,单击工具选项高级设置连接。现在取消选中以下复选框:

使用端口80和443作为传入连接的替代方法


0
投票

我遇到了同样的问题。

我退出了Skype应用程序,并从任务管理器启动了wampapache64服务,并且对我有用。


0
投票

我有Win10,并且有相同的问题。问题是,WAMP在一个月前开始工作,所以我怀疑有一些更新。无论如何,我已经卸载了Skype,没有运行IIS,但仍然遇到此问题。而不是原始问题,我仅进入事件查看器:

The wampapache64 service terminated with the following service-specific error: 
Incorrect function.

此错误不是很有帮助。另外,如上所述,我曾尝试将Apache配置为侦听端口81,但并没有帮助

Listen 0.0.0.0:80         # Changed to Listen 0.0.0.0:81
Listen [::0]:80           # Changed to Listen [::0]:81
ServerName localhost:80   # Changed toServerName localhost:81

所以我想知道我的问题是否与端口80有关。

感谢您的回答

© www.soinside.com 2019 - 2024. All rights reserved.