2015-12-02 85 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