2015-12-02 67 views
-1

在为Java安装Tomcat(手动)之后,我尝试安装Apache(XAMPP)for PHP。然后,在XAMPP上运行Apache并获取下面的错误。如何设置多个Web服务器避免Windows 7上的冲突端口?

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 

回答

0

可以在httpd.conf中改变

Listen 80 

到其他端口。你可以找到的httpd.conf在XAMPPs控制面板下配置 - >阿帕奇(httpd.conf文件)

+0

我在httpd.conf替代它:听8012和服务器名本地主机:8012。 ,我也替换为httpd-ssl.conf:Listen 444.它工作。 – user3522582