本地主机不起作用,IIS服务器停止
apache错误日志看起来像这样

[Thu Jan 05 14:55:20 2012] [notice] Apache/2.2.21 (Win32) PHP/5.3.8 configured -- resuming normal operations
[Thu Jan 05 14:55:20 2012] [notice] Server built: Sep 10 2011 11:34:11
[Thu Jan 05 14:55:20 2012] [notice] Parent: Created child process 3152
[Thu Jan 05 14:55:20 2012] [notice] Child 3152: Child process is running
[Thu Jan 05 14:55:20 2012] [crit] (OS 10022)An invalid argument was supplied.  : Child 3152: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Thu Jan 05 14:55:21 2012] [crit] Parent: child process exited with status 3 -- Aborting.
[Thu Jan 05 14:55:31 2012] [notice] Apache/2.2.21 (Win32) PHP/5.3.8 configured -- resuming normal operations
[Thu Jan 05 14:55:31 2012] [notice] Server built: Sep 10 2011 11:34:11
[Thu Jan 05 14:55:31 2012] [notice] Parent: Created child process 3988
[Thu Jan 05 14:55:31 2012] [notice] Child 3988: Child process is running
[Thu Jan 05 14:55:31 2012] [crit] (OS 10022)An invalid argument was supplied.  : Child 3988: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Thu Jan 05 14:55:31 2012] [crit] Parent: child process exited with status 3 -- Aborting.


任何人都知道请我帮忙的原因

最佳答案

在Win XP SP2上,这似乎是一个常见问题。


非常简单的解决方案是在TCP / IP协议设置中(在WINS设置下)取消选中“启用LMHOSTS查找”框。这是执行此操作的步骤:

打开“控制面板”,然后打开“网络连接”。
右键单击“本地连接”,然后选择“属性”。
双击“ Internet协议(TCP / IP)”行以打开“属性”。
在“常规”选项卡上,单击“高级”按钮。
选择“ WINS”选项卡,然后取消选中“启用LMHOSTS查找”框。”


http://www.jennyconnors.com/computers/installing-apache2-and-the-wsasocket-failed-to-open-the-inherited-socket-error

关于apache - apache无法在wamp服务器中启动,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/8741526/

10-11 07:45