gpt4 book ai didi

Windows 8 上的 WAMPSERVER 无法启动

转载 作者:行者123 更新时间:2023-12-04 02:42:01 24 4
gpt4 key购买 nike

我刚刚在我的 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.

最佳答案

好的,我发现:我机器的端口 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 .

关于Windows 8 上的 WAMPSERVER 无法启动,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23978028/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com