Everything was fine with my Apache installation. I was coding websites in PHP with using MySQL. I turned on my PC today however and the whole thing is broken. I haven't changed any configuration settings and I haven't made changes to my firewall either.

Here are the errors from the Event Viewer:


The Apache service named reported the following error:
>>> Unable to open logs .

The Apache service named reported the following error:
>>> no listening sockets available, shutting down .

The Apache service named reported the following error:
>>> (OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted. : make_sock: could not bind to address 0.0.0.0:80 .


I've tried removing Apache, including the program files dir and then reinstalling it but to no avail.

Restarting the service fails with the dialogue box: "The requested operation has failed".

I've also tried turning off the firewall to see if that was the issue but that didn't help either.

I searched the internet, most of the relevant topics were unhelpful or related to Apache 3. They seemed to point to checking the log dirs (which haven't changed) such as this one:
http://www.gossamer-threads.com/list...e/users/350974

I am running Apache 2.2 on Windows XP, with PHP 5.2.3.

The weirdest thing is that I can't see the point in changing any settings since they were not wrong in the first place.

Please help.

Nibinaear