wamp安装中的问题

来源:百度文库 编辑:神马文学网 时间:2024/04/30 00:22:06
windows xp下的Apache启动不了(logs出现:"(OS 10022)提供了一个无效的参数。")2008-05-16 14:21

我启动Apache的时候,logs下出现这样的信息:

 

[Fri May 16 14:12:28 2008] [notice] Apache/2.2.4 (Win32) PHP/5.2.3 configured -- resuming normal operations
[Fri May 16 14:12:28 2008] [notice] Server built: Jan 9 2007 23:17:20
[Fri May 16 14:12:28 2008] [notice] Parent: Created child process 3972
[Fri May 16 14:12:28 2008] [notice] Child 3972: Child process is running
[Fri May 16 14:12:28 2008] [crit] (OS 10022)提供了一个无效的参数。 : Child 3972: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
[Fri May 16 14:12:28 2008] [crit] Parent: child process exited with status 3 -- Aborting.

 

遇到系统升级到Winxp[sp2]可能会遇到Apache无法正常启动:
error.log日志类似这样描述:

[crit] (OS 10022)提供了一个无效的参数

解决办法:
1.网上邻居->本地连接->属性->internet协议(TCP/IP)->属性->高级->wins标签->去掉启用LMhosts查询前的勾.

2.控制面版->windows防火墙->高级标签->本地连接设置->服务的标签里勾选安全Web服务器(HTTPS)即可.

(这上下两项完成后仍然有问题,选中:启用 TCI/IP 上的 NetBOIS.)