Apache Web Server Suddenly Fails to Load With EMalloc Error - Solution (php_exif.dll) Apache Web服務器突然無法載入與emalloc錯誤-解決方案(在p hp_exif.dll)
The common symptom of the problem is that Apache web server suddenly fails to load as a service (on windows) or even from command line.該常見的症狀,問題是Apache網絡服務器突然無法載入作為一個服務(在Windows )或什至從命令行。 The error message from log is as follows:錯誤訊息從日誌如下:
FATAL: emalloc(): Unable to allocate -2103443420 bytes 致命的: emalloc ( ) :無法分配-2103443420字節
[Thu Jun 01 23:57:21 2006] [crit] master_main: create child process failed. [週四6月1日23時57分21秒2006年] [臨界] master_main :創建子進程失敗。 Exiting. 駛出。
In my case the solution was simple.在我的情況下,解決辦法很簡單。 All I had to do was comment out php_exif extension!所有我不得不做的是評論指出php_exif延長!
; extension=php_exif.dll ;擴展=在php_exif.dll
The single semi-colon made all the difference!單半結腸,使全部的差異!
Explanation: 解釋:
php_exif.dll requires php_mbstring.dll extension to be enabled.在php_exif.dll需要php_mbstring.dll擴建啟用。 Also php_mbstring.dll must be enabled before php_exif.dll.也php_mbstring.dll 必須啟用之前,在php_exif.dll 。 Failure to do so prevents Apache web server from loading on windows.不這樣做,阻止Apache Web服務器加載在Windows上使用。 Unfortunately that is not the default order.可惜這是不是默認的秩序。 In recommended php.ini sample php_exif is loaded earlier resulting in mayhem if you ever decide to enable php_exif.在推薦的php.ini的樣本php_exif載入早些時候,造成混亂,如果您決定使php_exif 。
Hope that helps.希望有所幫助。
Filed under提起下 Headline News頭條新聞 , , How To如何 , , Microsoft微軟 , , Open Source Software開放源碼軟件 , , PHP PHP的 , , Web網頁 , , Web Services Web服務 , , Windows在Windows | |
| |
RSS 2.0 2.0 | |
Trackback Trackback跟踪 this Article |此文章|
Email this Article電子郵件此文章
You may also like to read您也可以想讀 |




