apache is not working on xampp

北城余情 提交于 2019-12-11 22:12:57

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!