Page 3 of 3

Re: Can't Start Apache in WinXP-Pro SP-2

PostPosted: 08. July 2009 21:11
by sven30
ok, i've done everything on this thread and when i restart from administrative services I get an error saying to check the log files and... if it's a non microsoft service to check with the vendor etc...error 1.

Anyway, Port 80 is free, virus protection disabled. I've uninstalled reinstalled, multiple different ways presented in this thread, nothing works. This is very frustrating. I've never been able to successfully setup a simple web server on my windows machine. It's be nice if it just worked for once. i have a feeling this is a great peice of software but I can't test it out yet. Any help would be greatly appreciated.

Re: Can't Start Apache in WinXP-Pro SP-2

PostPosted: 15. July 2009 02:49
by hml_h
hello everyone~
i have the same problem----i can't start apache in winxp pro SP3
i have try many methods ,but can't work

i use xampp to start mysql and filezilla ,they work ok.
but when i use the button to start apache , it says "busy apache service started"
i have checked the port 80,81,443 ,they all free .
and i look into taskman ,there is no httpd.exe running.
so i also try to start the apache service through services.msc , the same result....(it says the apache service shutdown when it starts for a while)

thankyou !

Re: Can't Start Apache in WinXP-Pro SP-2

PostPosted: 15. July 2009 03:16
by Wiedmann
Start Apache with the batchfile and read the error message.

Re: Can't Start Apache in WinXP-Pro SP-2

PostPosted: 15. July 2009 16:33
by hml_h
Wiedmann wrote:Start Apache with the batchfile and read the error message.

the error_log says:setup_inherited_listeners(), WSASocket failed to open the inherited socket.
so i look into the internet and find the solution :stop the lmhosts query.
done !
thank you !

Re: Can't Start Apache in WinXP-Pro SP-2

PostPosted: 18. September 2009 01:35
by asynctea
I know the post title says WinXP, but I was getting the same problem in Vista until I ran as Administrator. Hope it helps someone else who didn't pay attention to the title. In Vista run xampp_control.exe as administrator.

Useful tool to x-ray all hidden processes that use-up memory

PostPosted: 18. September 2009 19:59
by verysmallears
Hi Folks,

I recommend the X-Ray My PC Scanner tool. It will list all processes running on your computer, even hidden ones with their descriptions and security risks. If you do not have a description for the specific process, then most likely it is a malicious process.

You can download the scanner from the link below (it is free):

Re: Can't Start Apache in WinXP-Pro SP-2 - Solution

PostPosted: 02. October 2009 07:31
by Golgar_2000
Hi, I Believe I Have A Solution.
I Have Always Manually Gone & Downloaded, Installed & Configured All The Separate Programs, Apache, PHP, etc. Never Had A Problem I Couldn't Fix Or Find A Solution For, Anyway, I Have Just Downloaded & Installed XAMPP 1.7.2 Also The Tomcat Add-on. Now Everything Was Fine First Run All Services Ran Fine.

Mercury &

The Problem Started After I Restarted My Computer. No Apache? It Says It Started But Nothing, Hmmm Strange. All The Configuration Files Where Correct. So I Mucked Around For A While, Researched Everywhere & Even Tried To Install Apache Over The Apache Directory In XAMPP. Still Nothing. So I Started Again. Uninstall, Re-Install. Hey Apache Is Working Again. This Time No Restart. So I Just Clicked The Stop Apache Button, All Good. Ok Start Apache, NOTHING AGAIN. Sound Familiar?

Now Is Not The Time To Scream, It Has Already Told You The Problem. Apache. Very Simple, Go & Check Out The Error Log (Open With Notepad) The Log Files Are Located Here

" \xampp\apache\logs

Go To The Bottom Of The Log File & You Will See The Date, Time & Status. I Found That A File Was Missing Or Could Not Be Located. The Problem Was Related To Tomcat Which Stopped Apache From Starting.

"" Was Missing From " \xampp\tomcat\Server\xampp\apache\modules\

So I Found A Copy Of "" Located In " \xampp\apache\modules

So Very Simple. I Copied "" From “ \xampp\apache\modules To “ \xampp\tomcat\Server\xampp\apache\modules\

Clicked The Start Apache Button & TADA Apache Is Working Again.

Now If A Different File Is Missing Try Searching Your Computer For It & If You Don’t Have It Download The ZIP File From & You Should Find It In There.

In Conclusion If Apache Won't Start Or Won't Stay On Check You Log Files It Will Tell You The Problem. I Hope This Has Helped.

Re: Can't Start Apache in WinXP-Pro SP-2

PostPosted: 02. October 2009 08:21
by Izzy
Golgar_2000 wrote:"" Was Missing From " \xampp\tomcat\Server\xampp\apache\modules\

Re: Can't Start Apache in WinXP-Pro SP-2

PostPosted: 17. November 2009 11:34
by ginlau46
I had this problem also. I uninstalled MS IIS and using the xampp control panel, I was able to start Apache :) .

Re: Can't Start Apache in WinXP-Pro SP-2

PostPosted: 27. January 2010 22:49
by wroken
Hi, possible solution: ... pado-busy/

I fix that with that solution.
This works.

Re: Can't Start Apache in WinXP-Pro SP-2

PostPosted: 25. May 2010 10:15
by Voices
just like to share my experience on this topic. I had similar problem to many of the prev posters, I had successfully installed xampp and ran apache, filezilla and mysql for one day. It was working brilliantly until I added a ip-address in the "httpd-xampp.conf" file:
# New XAMPP security concept
<LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))">
Order deny, allow
Deny from all
Allow from ::1 \
::1 \
fc00::/7 \

ErrorDocument 403 /error/HTTP_XAMPP_FORBIDDEN.html.var

Since I was playing around with 3 different computers at the time (2 on the same network and 1 external), it took me a while to note that xampp no longer would start on the computer where the change had been made.
The revelation came when reading "..\xampp\apache\logs\error.log". It was complaining about line 121: "Order deny, allow". The correct syntax was "Order deny,allow" instead of "Order deny, allow".
Now it all works. Simply a newbie fault but not obvious at all.

Re: Can't Start Apache in WinXP-Pro SP-2

PostPosted: 26. December 2010 15:35
by naji123
My friend try to close all the application that might be opened automatically when you open your computer because some of those applications interrupts the procedures of the start. and try to close any remote access to your device

Re: Can't Start Apache in WinXP-Pro SP-2

PostPosted: 15. January 2011 20:13
by ApacheDeSanFran
I don't know if this solution applies to others that have struggled with this problem, but I wanted to post my fix. As for me, I had previously installed Xampp under "C:\Program Files", but later decided to uninstall and reinstall it in "C:\Xampp". At that point, I could no longer start the Apache or MySQL services, regardless of whether I did it through Xampp or Windows -> Control Panel -> Administrative Tools -> Services.

So my fix was as follows:
* I launched regedit looked for all instances of "httpd.exe" and made changes as needed
* I found several locations, including "HKLM\SYSTEM\ControlSet001\Services\Apache2.2", but there were several other places.
** For example (in the above registry location), I changed the value for 'ImagePath'
- from: "C:\Program Files\Xampp\xampp\apache\bin\httpd.exe" -k runservice
- to: "C:\Xampp\xampp\apache\bin\httpd.exe" -k runservice
* I had to do something similar for MySQL as well in regedit.


Re: Can't Start Apache in WinXP-Pro SP-2

PostPosted: 16. January 2011 22:46
by ApacheDeSanFran
Actually, I missed a VERY IMPORTANT step!

I need to run in a DOS window, the following command:
C:\>net stop w3svc

This stops the IIS WWW service, which will conflict with Apache if left active. You can probably do the same thing in Control Panel -> Administrative Tools -> Services