我的 WAMP 图标始终为黄色。端口 80 未使用,我不使用 Skype。以下是我收到的错误消息:
[Wed Sep 28 19:21:17 2011] [crit] (OS 6)The handle is invalid. : master_main: create child process failed. Exiting.
[Wed Sep 28 19:21:47 2011] [notice] Parent: Forcing termination of child process 36
[Wed Sep 28 19:26:15 2011] [notice] Apache/2.2.8 (Win32) PHP/5.2.6 configured -- resuming normal operations
[Wed Sep 28 19:26:15 2011] [notice] Server built: Jan 18 2008 00:37:19
[Wed Sep 28 19:26:15 2011] [notice] Parent: Created child process 3344
[Wed Sep 28 19:26:15 2011] [crit] (OS 10050)A socket operation encountered a dead network. : alloc_listener: failed to get a socket for (null)
Syntax error on line 46 of C:/wamp/bin/apache/apache2.2.8/conf/httpd.conf:
Listen setup failed
[Wed Sep 28 19:26:15 2011] [crit] (OS 6)The handle is invalid. : master_main: create child process failed. Exiting.
[Wed Sep 28 19:26:45 2011] [notice] Parent: Forcing termination of child process 36
WAMP 应用程序有什么问题?
答案1
看来你的听您的 httpd.conf 文件中的语句不正确。通常,它的形式为
Listen 80
表示在所有可用的 IP 地址上监听 80 端口。
Listen 127.0.0.1:80
仅在IP环回接口上监听等等。
答案2
C:/wamp/bin/apache/apache2.2.8/conf/httpd.conf 第 46 行语法错误:监听设置失败
您的 httpd.conf 文件有语法错误,导致 Apache 无法启动。
发布文件的内容,我们可能会提供更好的帮助。