2015-05-31 81 views
0

我在Windows 7上使用Bitnami XAMPP。它已經超過了我使用的一年,但今天突然它顯示Apache關機意外錯誤。apache not running XAMPP

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

請注意,Skype沒有運行,我甚至嘗試通過編輯httpd.conf將端口更改爲81。直到現在我還選中「使用端口80和443或額外的傳入連接」 更改端口號,以81後,我去了命令提示符,然後使用命令

netstat -nab 

使用端口81。我,我沒有得到任何應用程序完成重新啓動XAMPP和我的電腦。幫助表示讚賞。謝謝。

+0

你有沒有解決這個我也有同樣的問題。 Netstat不顯示我的端口被阻止,Skype可以運行或不運行。 – Eoin

+0

@Eoin當我重新安裝XAMPP時,我解決了它。我無法弄清楚究竟是什麼問題。 –

+0

這是Bitnami造成的!他們在我的apache httpd.conf文件的底部添加了一行。吸盤。我不會再使用這種安裝方式,有很多我討厭的東西。 – Eoin

回答

0

您是否嘗試過使用Xampp控制面板更改端口?

+0

是的。我也試過了。 –

+0

您是否嘗試以管理員身份運行Xampp控制面板? – effy

0

Bitnami開發人員在這裏。

它似乎與一個阻塞的端口有關。嘗試從XAMPP控制面板中更改所有Apache配置文件中的http和https端口。

要做到這一點,按配置的Apache部分,並更改端口在httpd.conf和的httpd-ssl.conf中

您需要也改變了服務端口:配置(在右上角按鈕) - >服務和端口設置。

如果您想查看當前使用的端口,請點擊Netstat按鈕。

我希望它能幫助

大衛

+0

我自己通過卸載最近安裝的軟件解決了這個問題,這是導致錯誤的可能原因。 –