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:
This has little to do with PHP programming so it would be hard to answer your question. It is more to do with the apache server and specifically xampp.
If we hav any other web server running apart from apache(installed through XAMPP in ur case) the apache wont work.
First check for any other server installed.
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:
Something else to watch out for is Skype. If you have skype turned on, it may be taking up port 80 so you won't be able to start Apache.
The same thing happened to me! When I realized Apache wasn't working, I realized Skype uses port 80 as well so shutting down skype and starting apache worked fine.
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 am glad you posted that comment even though this thread is kind of old!
I just did what you suggested and now Apache is running!
Thanks Mishrab! God bless you!