therequestedoperation,apache报错,apache启动失败,apachetherequested
方法/步骤
1、很长一段时间没在业余时间写代码了,昨天晚上启动ap瞢铍库祢ache时,居然弹窗:therequested泠贾高框operationhasfailed,搞了半天居然是前阵子安装SQLServer2005时自动安装了IIS,占用了80端口...解决办法:1.更换apache的监听端口;2.停止IIS或更换IIS的监听端口;
2、1.嚼但匙噻首先找到问题原因:cmd--命令端--切换到apache的bin目录,执行如下命令:httpd.exe-臃扮哀坷w-n"apache2.2"-kstart;PS:apache2.2为你的apache服务名称,有的为apache,以自己的为准。
3、2.如果为OS10013错误,则说明问题是80端口被占用,先去服务里将IIS关闭掉,然后重启apache,如果还是继续弹窗therequestedoperationhasfailed...需要去Internet信息服务里面停止网站;
4、3.计算机--右键--管理--服务和应用程序--Internet信息服务--单击你的计算机名称,单击网站在右侧会显示网站的列表信息;
5、4.单击选中网站,在右侧选择绑定单击,编辑端口可以设置为8080或者别的,点击右下角的重新启动。如果IIS没用的话,可以直接关闭,这样重启apache就没问题了;如果需要彻底删除IIS的话,请参考这篇文章:
6、5.还有一种方法是更换apache的监听端口:apache安装目录--conf--httpd.conf,找到Listen80,更换为别的端口,如Listen8080,保存后重启apache。