Hello everyone! I got a series of C++ tutorials and a series of Blender tutorials and 1 tutorial on how to get free Windows Vista look on your Windows XP on YouTube.. So I thought I would so some PHP tutorials too... And as always I wanted to check if everything was working before I started doing my tutorial.. So, I downloaded XAMPP 1.7.2, and it installed successfully without any errors, and MySQL works fine, but when I hit the 'Start' button to start Apache it says "Running" in like 10 secs, and then it stops running again.. And in the short time it is running when I try to hit "Admin" is cannot open the web-browser, and Apache service stops.. And the little text field in the XAMPP Control Panel Application says:
When I hit the "Start" button.. So I figured that I would like to go look at the error log at:
And in there when I hit the "Start" button nothing happens.. But when after like 10 secs when it stops by itself, I get this addition to the log:
MySQL works fine, but when I hit the 'Start' button to start Apache it says "Running" in like 10 secs, and then it stops running again.. And in the short time it is running when I try to hit "Admin" is cannot open the web-browser, and Apache service stops..
I have this problem a lot with XAMPP. The usual procedures is first to press Ctrl+Alt+Delete to go into the task manager. Then end task to the process named apache.exe and httpd. After that try reopening your control panel and single click the apache load button. Then wait for 20 seconds then if not loaded double click on the load apache button instead of single click. Normally that works for me.
I had a previous version of Perl installed and had Environment Variables set. Apache crashed because the path to perl was using my old paths. I removed the paths through the System Properties Advanced Tab under Environment variables.
This may not be your issue but I thought I'd share my resolution.
The following link had some helpful information as well:
Hi, this post is old, but nevertheless, for someone coming in here:
If you are running Windows watch out for IIS web publishing which will be running. Hit Ctrl+Shift+Esc and go to services - check out W3SVC - World Wide Web Publishing Service, click on it and go on to stop the service. Remove the startup if possible to stop having this problem, permanently. Hope this helps.
I found that the World Wide Web Publishing Service (WWPS) runs on the same port that Apache is automatically set to open on.
Open Windows Services (Open XAMPP > [right menu] Services) > 'Stop' World Wide Web Publishing Service-WWPS) this is causeing the Apache server not to start. Then open XAMPP and 'Start' Apache service.
Either set the WWPS to Automatically start with a Delay, set option to 'Automatic (Delay Start)' and the Apache service can start first on boot up with the preset port or 'Stop' the WWPS then open XAMPP and 'Start' Apache service.