apache没有在xampp上工作

时间:2014-02-11 04:58:47

标签: php apache xampp

它显示了下面给出的错误

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

请帮帮我

1 个答案:

答案 0 :(得分:0)

apache-80的默认端口由其他一些应用程序使用。

因此,您可以在C:\xampp\apache\conf\httpd.conf

中的httpd.conf中将端口号从80更改为其他内容(8080)

例如─    将默认Listen 80更改为

Listen 8080