---
title: "解决Apache安装无服务和the requested operation has failed错误"
author: "fonter"
date: "2009-07-23T16:43:03Z"
tags: []
slug: "apache-the-requested-operation-has-failed"
draft: false
lastmod: "2009-07-23T16:43:03Z"
id: 431683
url: "https://fonter.iteye.com/blog/431683"
---

写这个为了以后不再到处上网找答案

Apache安装无服务解决方法：

命令行进入apache目录下的bin ，运行如下指令即可注册服务，如：

D:\\Program Files\\Apache Software Foundation\\Apache2.2\\bin&gt; httpd.exe -k install -n apache2.2

 

the requested operation has failed错误解决方法：

在找到httpd.conf文件，修改Listen 80为没被占用的端口