lishenghan 发表于 2015-8-5 12:03:13

Apache服务器在Windows 平台下启动的问题

  以前用PHP配置开发环境没出现什么问题,可是今天下载了Apache 2.2、MySQL 5.2、PHP 5 配置PHP开发环境。在windows平台上Apache安装顺利,PHP也安装了,同样按以前的方法修改了相应的配置。但Apache服务器启动失败,弹窗提示“the requested operation has failed”,搞来搞去没搞定,最后看错误报告error.log,里面最新的内容如下
   Apache/2.2.4 (Win32) PHP/5.2.0 configured -- resuming normal operations
Server built: Jan9 2007 23:17:20
Parent: Created child process 3352
Child 3352: Child process is running
(OS 10022)提供了一个无效的参数。: Child 3352: setup_inherited_listeners(), WSASocket failed to open the inherited socket.
Parent: child process exited with status 3 -- Aborting.
      baidu了,也google了,最终找到了解决方法,但原因还没搞清楚。
  解决方法如下:
  打开:网上邻居->本地连接->属性->Internet协议(TCP/IP)->属性->高级->wins标签->去掉“启用LMhosts查询”前的勾。
  究竟为什么这样做,还待朋友们赐教!
页: [1]
查看完整版本: Apache服务器在Windows 平台下启动的问题