问题
Xampp we ran a while apache crashes, but do not know the cause, there are guides who help. Thanks
8:16:54 AM [Apache] Status change detected: stopped
8:16:54 AM [Apache] Error: Apache shutdown unexpectedly.
8:16:54 AM [Apache] This may be due to a blocked port, missing dependencies,
8:16:54 AM [Apache] improper privileges, a crash, or a shutdown by another method.
8:16:54 AM [Apache] Press the Logs button to view error logs and check
8:16:54 AM [Apache] the Windows Event Viewer for more clues
8:16:54 AM [Apache] If you need more help, copy and post this
8:16:54 AM [Apache] entire log window on the forums
回答1:
I had the same issue when I tried to get Apache to start in XAMPP. Most answers I came across had to do with going into "Services" and making the "World Wide Web Publishing Service" Stop. However, when I looked for it in "Services" (Windows 10) it wasn't there, so I tried another route and it worked. Here are the steps I took:
- From the XAMPP Control Panel, click "config" for Apache, and access (httpd.conf)
- Locate the following: "#Listen 12.34.56.78:80 #Listen 80" (the "#Listen 80" will be on a second line, for some reason Stack Overflow distorts the text when I duplicate it here.
- Change the second line to "Listen 8080"
- Drop down to "ServerName localhost: 80" & change it to "ServerName localhost: 8080"
- Save and Close the file
- From the XAMPP Control Panel, click "config" for Apache, and access (httpd-ssl.conf)
- Locate the following: "Listen 443" & change it to "Listen 4433"
- Drop down to "," change it to ""
- Save and Close the file.
Now, when you click for Apache to start, it should turn green and all will be well. If this doesn't help try the popular fix of locating the "World Wide Web Publishing Service" and right click to "Stop" it - it didn't work for me, but it might work for you. I really hope this helps someone out there.
回答2:
This error occurs because your Xampp default port 80 is already used by another server like Oracle or Tomcat web server,
If you want step by step support please Click Here
来源:https://stackoverflow.com/questions/32244195/xampp-apache