2014-01-29 64 views
1

啓動Apache的服務,在我的筆記本上安裝XAMPP的新版本後,我得到了以下錯誤:錯誤從XAMPP

錯誤日誌從控制面板:

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

的Netstat輸出

TCP 0.0.0.0:80    MW70VRC49LC8OO:0  LISTENING 
    TCP 0.0.0.0:135   MW70VRC49LC8OO:0  LISTENING 
    TCP 0.0.0.0:445   MW70VRC49LC8OO:0  LISTENING 
    TCP 0.0.0.0:8000   MW70VRC49LC8OO:0  LISTENING 
    TCP 0.0.0.0:8883   MW70VRC49LC8OO:0  LISTENING 
    TCP 0.0.0.0:12680   MW70VRC49LC8OO:0  LISTENING 
    TCP 0.0.0.0:49152   MW70VRC49LC8OO:0  LISTENING 
    TCP 0.0.0.0:49153   MW70VRC49LC8OO:0  LISTENING 
    TCP 0.0.0.0:49154   MW70VRC49LC8OO:0  LISTENING 
    TCP 0.0.0.0:49155   MW70VRC49LC8OO:0  LISTENING 
    TCP 0.0.0.0:49158   MW70VRC49LC8OO:0  LISTENING 
    TCP 10.23.121.46:139  MW70VRC49LC8OO:0  LISTENING 
    TCP 127.0.0.1:4242   MW70VRC49LC8OO:0  LISTENING 
    TCP 127.0.0.1:60544  MW70VRC49LC8OO:0  LISTENING 
    TCP [::]:80    MW70VRC49LC8OO:0  LISTENING 
    TCP [::]:135    MW70VRC49LC8OO:0  LISTENING 
    TCP [::]:445    MW70VRC49LC8OO:0  LISTENING 
    TCP [::]:8000    MW70VRC49LC8OO:0  LISTENING 
    TCP [::]:8883    MW70VRC49LC8OO:0  LISTENING 
    TCP [::]:49152    MW70VRC49LC8OO:0  LISTENING 
    TCP [::]:49153    MW70VRC49LC8OO:0  LISTENING 
    TCP [::]:49154    MW70VRC49LC8OO:0  LISTENING 
    TCP [::]:49155    MW70VRC49LC8OO:0  LISTENING 
    TCP [::]:49158    MW70VRC49LC8OO:0  LISTENING 

我甚至從的Skype禁用端口80443>選離子>高級>連接>未綁定選項:使用端口80和443作爲傳入連接的替代方案。我知道Skype和Xampp與端口存在衝突問題,因此我被告知要從Skype禁用它。

是否有配置需要我手動完成,因爲我有另一臺筆記本電腦,並且在安裝和啓動Apache模塊時沒有任何問題。

希望對此有所幫助。

+0

後輸出netstat -a |找到/我「列表」 –

+0

我是否將它複製並粘貼到Shell程序中?我對Xamppp很陌生。沒有充分探索其功能等。 – Jeiman

+0

是的,從命令行運行它。 –

回答

0

我相信我可能找到了解決方案。作爲@EugenRieck可能會建議我改變端口由於是網絡服務器使用端口80

因此,我編輯了Apache (httpd.conf)文件,並更改以下行:Listen 80到另一個端口號(如。 82)。