问题
It shows the errors given bellow
9:53:45 AM [Apache] Error: Apache shutdown unexpectedly.
9:53:45 AM [Apache] This may be due to a blocked port, missing dependencies,
9:53:45 AM [Apache] improper privileges, a crash, or a shutdown by another method.
9:53:45 AM [Apache] Press the Logs button to view error logs and check
9:53:45 AM [Apache] the Windows Event Viewer for more clues
9:53:45 AM [Apache] If you need more help, copy and post this
9:53:45 AM [Apache] entire log window on the forums
please help me
回答1:
The default port for apache- 80, is used by some other application.
So, you can change the port number from 80 to something else (8080) in httpd.conf in C:\xampp\apache\conf\httpd.conf
For e.g.-
Change default Listen 80
to
Listen 8080
来源:https://stackoverflow.com/questions/21693498/apache-is-not-working-on-xampp