The requested operation failed

Upon startup, apache throws an error: The requested operation failed.

One entry appears in error.log:

[Wed May 11 18:16:46 2011] [warn] pid file D:/server/apache/logs/ overwritten — Unclean shutdown of previous Apache run?

Can you tell me how to fix the error?

Answer 1, authority 100%

Mistake may be

  1. due to incompatible PHP version (need VC6 x86 Thread Safe) – check version;
  2. due to incompatible PHP extensions (requires mysql) – remove the excess.

You can also take a ready-made assembly: XAMPP or WAMPP and not waste time setting up the server.

Answer 2

You probably didn’t install it correctly. Read the installation here.

Linkto download XAMPP.

Answer 3

There may be another program running that is blocking port 80. This is usually Skype. Uncheck the box in the Skype settings, where it is indicated that it would use this port.