我刚刚在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.
好的,我知道了:IIS而不是Skype正在使用我的计算机的端口80。这是我发现的方式:
左键单击WAMPManager图标以显示菜单。点击阿帕奇►服务►测试端口80。这将启动命令窗口,并显示一些有关端口80的信息(如果有的话)。您可以在http://forum.wampserver.com/read.php?2,122527找到更多详细信息。
配置Apache以在其他端口上侦听
由于我想继续在端口80上运行IIS,因此我决定在其他端口上运行WAMP Server。这就是我的做法。
我必须更改http.conf
在我的情况下位于folder中的文件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。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句