Windows 7 XAMPP - Can't start apache
-
I have xampp installed on windows 7 but I've never been able to get apache working. When I press the netstat button it shows nothing running on port 80, the logs are completely empty and I don't see anything in the windows event viewer (although I can't seem to get it to show all events by date which it used to do by default, so I could be missing something) This is what the log shows when trying to start apache: 14:27:00 [Apache] Attempting to start Apache app... 14:27:00 [Apache] Status change detected: running 14:27:01 [Apache] Status change detected: stopped 14:27:01 [Apache] Error: Apache shutdown unexpectedly. 14:27:01 [Apache] This may be due to a blocked port, missing dependencies, 14:27:01 [Apache] improper privileges, a crash, or a shutdown by another method. 14:27:01 [Apache] Press the Logs button to view error logs and check 14:27:01 [Apache] the Windows Event Viewer for more clues 14:27:01 [Apache] If you need more help, copy and post this 14:27:01 [Apache] entire log window on the forums
-
Answer:
Turn off the local (on this computer) firewall? Something could be getting in the way.
missmagenta at Ask.Metafilter.Com Visit the source
Other answers
Still the same with the firewall off
missmagenta
Check your Windows Services to see if IIS is running (World Wide Web Publishing Service). It may have already claimed port 80 for itself.
Eddie Mars
There's nothing on port 80, I even tried changing the port to 8080 and it still wont run.
missmagenta
Unhelpful error message-- could be anything. There are a http://stackoverflow.com/questions/18300377/xampp-apache-error-apache-shutdown-unexpectedly http://stackoverflow.com/questions/13339850/apache-2-4-3-with-xampp-1-8-1-not-starting-in-windows-8 threads on this- all with different solutions.My problem was that in httpd.conf the DocumentRoot and entries were pointing to non-existing folders.
Maxwell_Smart
It wasn't port 80 that was in use it was 443! I thought I'd changed that too but I've been trying to get this running on and off for so long I'd lost track - when I first started trying, it was port 80 that was the problem
missmagenta
Its running now but PHP isn't :( It used to all just work
missmagenta
It's this a new install of XAMPP or did you move it from another machine or location? I had a similar problem a while back and I just needed to run the config script again so it "knew" where its bits and pieces were. Like I said, it was a while ago and I'm on a bus at the moment so I don't know the specific name of the script, but you can look up the directions for moving XAMPP to a different location and it will tell you.
under_petticoat_rule
Related Q & A:
- In Visual Studio 2012 or 2013, how can I register a DLL file on Windows 7 64-bit computer using a Custom Action command?Best solution by Stack Overflow
- How can I change a password with windows 7?Best solution by Yahoo! Answers
- What PC games can I play in Windows 7?Best solution by pcworld.com
- Windows 7 doesn't recognize my iphone?Best solution by answers.microsoft.com
- Why can't I change my desktop background with Windows 7?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.