如何在Windows 7上设置多个Web服务器避免冲突端口?

时间:2015-12-02 15:16:52

标签: webserver

在为Java安装Tomcat(手动)之后,我尝试为PHP安装Apache(XAMPP)。然后,在XAMPP上运行Apache并得到以下错误。

10:15:25 CH  [Apache]   Error: Apache shutdown unexpectedly.
10:15:25 CH  [Apache]   This may be due to a blocked port, missing dependencies, 
10:15:25 CH  [Apache]   improper privileges, a crash, or a shutdown by another method.
10:15:25 CH  [Apache]   Press the Logs button to view error logs and check
10:15:25 CH  [Apache]   the Windows Event Viewer for more clues
10:15:25 CH  [Apache]   If you need more help, copy and post this
10:15:25 CH  [Apache]   entire log window on the forums

1 个答案:

答案 0 :(得分:0)

您可以更改

Listen 80
httpd.conf

到其他一些端口。您可以在 Config - >下的XAMPP控制面板中找到 httpd.conf Apache(httpd.conf)

相关问题