Windows 8上的WAMPSERVER无法启动

时间:2014-06-01 08:29:16

标签: wampserver

我刚刚在WIN 8机器上安装了WAMPSERVER(Apache / 2.4.9(Win64)),当试图启动它时,它的图标总是红色/橙色(不是绿色)。从尝试运行服务的服务中我看到以下错误消息:

wampapache64

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

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.

3 个答案:

答案 0 :(得分:21)

好吧,我发现:我的机器的端口80正被IIS使用,而不是被Skype使用。我就是这样找到的:

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

配置Apache以侦听不同的端口
由于我想继续在端口80上运行IIS,我决定在不同的端口上运行我的WAMP服务器。所以我就是这样做的。

我必须更改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服务器的绿色图标。

有关http://forum.wampserver.com/read.php?2,13744的更多详情。

答案 1 :(得分:7)

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

  

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

答案 2 :(得分:0)

我遇到了同样的问题。

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