Whenever I try to start apache server on my local development computer I get prompted an error message as follows:

The requested operation has failed

httpd.conf was not tampered with. How do I set it up to work?

  • 2
    Do you see anything helpful in /var/log/httpd/error_log? Feb 4, 2010 at 16:10
  • I don't have that directory (var) inside my Apache installation.
    – Ron
    Feb 4, 2010 at 16:11
  • I lold at this ^ Jun 30, 2013 at 19:49

3 Answers 3


This is usually caused by one of two problems:

  1. You already have something running on Port 80. It's most common that your development box has IIS installed on it, and IIS is using port 80. You can solve this issue by any of:

    • stopping the IIS service ("World Wide Web Publishing Service")
    • changing the binding on the IIS site
    • uninstall IIS (or remove the Feature in Vista/2008 or newer OSes)
  2. The Apache service is disabled. Open services.msc and check the Apache service, make sure it's not disabled. It should be set to Manual or Automatic start-up, depending on your environment.

  • For example Skype reserves (for wtf reason) port 80. If you are running Skype on your machine, try to turn it off, start Apache and then turn Skype back on.
    – Dejv
    Aug 3, 2016 at 14:01

Check the path in services.msc relating to Apache (default is Apache2.2 I think) to see if it matches path to your httpd.exe.

That fixed it for me.

  • Where did you see that invisible tag about Windows? :) Mar 6, 2012 at 22:59
  • 1
    That's a Windows service error. This is likely an WAMP stack or similar.
    – Chris S
    Jun 5, 2013 at 13:22

if apache is not starting and getting error "Requested operation failed"

go to the command prompt : services.msc search for Apache> right click and select properties. In the General tab one startup type drop down is there. Change it to Automatic and click Apply. Then Start button will get enabled.