2015-12-27 60 views
4

我已經嘗試了很多(重新啓動XAMPP,PC等),但我似乎無法修復此:XAMPP Apache HTTP服務器已停止工作

Problem signature: 
Problem Event Name: APPCRASH 
Application Name: httpd.exe 
Application Version: 2.4.17.0 
Application Timestamp: 561cc534 
Fault Module Name: libapr-1.dll 
Fault Module Version: 1.5.2.0 
Fault Module Timestamp: 561cc6a2 
Exception Code: c0000005 
Exception Offset: 00011fcb 
OS Version: 6.1.7601.2.1.0.768.3 
Locale ID: 1033 
Additional Information 1: 0a9e 
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789 
Additional Information 3: 0a9e 
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789 

我在Windows 7 32位和MySQL啓動罰款和我的舊版本的Apache(之前,我會使用SQL數據庫)會運行良好,我得到這個錯誤後:

我在XAMPP控制檯還得到這樣的:

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

您是否檢查過另一個應用程序未使用端口80? –

+0

我檢查並測試它在8080以下(這是我的舊Apache設置) – mongoz

+0

另一個應用程序已經使用相同的端口不會導致[ACCESS VIOLATION](http://blogs.msdn.com/b/) calvin_hsia/archive/2004/06/30/170344.aspx)異常。是否有可以添加到說明中的內容「它正在工作」和「doh」之間發生了什麼變化? – VolkerK

回答

11

要解決這個問題:

1 - 停止從XAMPP面板Apache Web服務器

2 - (httpd.conf)中從配置菜單選擇的xampp面板上

3 -insert代碼文件的末尾

<IfModule mpm_winnt_module> 
    ThreadStackSize 8388608 
</IfModule> 
+0

節省了我很多時間哥們,非常感謝。我可以知道它的原因嗎? –

+0

它適用於我:) – Javid

+0

美麗!在Windows 2012 Server上爲我工作。 – MQuiggGeorgia

-1

註釋掉 'error_log="C:\xampp\php\logs\php_error_log"'php.ini中

+0

你能提供更多關於爲什麼應該註釋掉這個設置的信息嗎?或者如何/爲什麼它適用於他的問題。 – Titi

+0

我相信,如果日誌文件夾不退出,XAMPP崩潰。在C:\ xampp \ php下手動創建日誌文件夾似乎解決了這個問題。 –