2016-05-25 187 views
0

當我試圖啓動Apache服務我顯示錯誤塊面板下面erronXAMPP Apache服務無法啓動

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

普萊舍幫助我的人

+0

你的apache端口正被一些其他服務使用通過任務管理器檢查端口 – Ali

+1

註銷並退出skype如果打開 – DsRaj

+0

你有使用Skype? –

回答

1

您好,如果您正在使用Skype,然後通過Skype工具 - >選項 - >高級 - >連接 在此檢查使用端口有一個文本框可能有默認端口使用80,所以使該框爲空。並保存從Skype註銷並再次登錄現在你的Skype使用80以外的端口,所以現在你的Apache工作正常。

而且還有其他解決方案也可以將您的默認端口Apache 80改爲其他從Apache httpd.confServerName localhost:80到任何其他自由端口如ServerName localhost:81可以幫助您。

1

以下是我想通了:

  1. 在控制面板中,單擊在Apache ----配置按鈕,打開第一行(httpd.conf文件)文件,here

  2. 搜索這些線路
    #Listen 12.34.56.78:80

    Listen 80

    ServerName localhost:80

而到另一個號碼x,可能是唯一的一個,以避免重複替換這些行80。例如,2017.

  1. 在控制面板中,單擊右上角的配置按鈕here

    Service and Port Settings>Main Port:舊人與x

那是我的工作方式。希望它可以幫助你。