2014-07-07 97 views
0

請注意,如果這只是一個愚蠢的錯誤,我是一個新手,因此忍受着我。在XAMPP啓動後Apache意外關閉(Windows 7)

我有我的Win 7筆記本電腦上的XAMPP,沒有IIS,沒有額外的MySQL的東西。但是,每次點擊apache模塊的啓動時,都會出現。

18:18:01 [Apache] Problem detected! 
18:18:01 [Apache] Port 80 in use by "Unable to open process" with PID 4! 
18:18:01 [Apache] Apache WILL NOT start without the configured ports free! 
18:18:01 [Apache] You need to uninstall/disable/reconfigure the blocking application 
18:18:01 [Apache] or reconfigure Apache and the Control Panel to listen on a different port 
18:18:01 [Apache] Attempting to start Apache app... 
18:18:02 [Apache] Status change detected: running 
18:18:02 [Apache] Status change detected: stopped 
18:18:02 [Apache] Error: Apache shutdown unexpectedly. 
18:18:02 [Apache] This may be due to a blocked port, missing dependencies, 
18:18:02 [Apache] improper privileges, a crash, or a shutdown by another method. 
18:18:02 [Apache] Press the Logs button to view error logs and check 
18:18:02 [Apache] the Windows Event Viewer for more clues 
18:18:02 [Apache] If you need more help, copy and post this 
18:18:02 [Apache] entire log window on the forums 

Skype和VMware是斷開的,沒有在錯誤日誌或Windows事件查看器,而據我所知,80端口是免費

任何意見將是最歡迎的。

非常感謝

編輯:謝謝你的回答。事實證明,由微軟WebMatrix發佈的Web部署服務是應該受到指責的。非常感謝。

回答

0

從錯誤日誌中,很明顯,80端口被打開

Open a CMD prompt and type in command: net stop was /y 

Run Dialog Box (press keys Win+R) .. then type: services.msc 

然後我向下滾動到:萬維網發佈服務雙點擊它,並點擊STOP(若該服務狀態爲已啓動)

Start Apache again with XAMPP :) 

鏈接編號:http://www.sitepoint.com/unblock-port-80-on-windows-run-apache/