歡迎您光臨本站 註冊首頁

我的apache總是自動關閉,日誌提示EACCELERATOR: PHP crashed

←手機掃碼閱讀     火星人 @ 2014-03-04 , reply:0

我的apache總是自動關閉,日誌提示EACCELERATOR: PHP crashed

我用的是apmserv5.26+Zend debugger,apache總是自動關閉,日誌提示
EACCELERATOR: PHP crashed

Parent: child process exited with status 3 -- Aborting.


請問該如何處理呢?


以下是error.log文件的內容

********************************************************************************************
APMServ最近一次啟動、運行、停止過程中的Apache通知[notice]、提醒[warn]、錯誤[error]日誌如下:
********************************************************************************************
:35:35 2009] [warn] RSA server certificate CommonName (CN) `127.0.0.1' does NOT match server name!?
:35:35 2009] [warn] RSA server certificate CommonName (CN) `127.0.0.1' does NOT match server name!?
:35:37 2009] [notice] Apache/2.2.9 (APMServ) mod_ssl/2.2.9 OpenSSL/0.9.8h PHP/5.2.6 configured -- resuming normal operations
:35:37 2009] [notice] Server built: Jun 13 2008 04:04:59
:35:37 2009] [notice] Parent: Created child process 4776
:35:37 2009] [warn] RSA server certificate CommonName (CN) `127.0.0.1' does NOT match server name!?
:35:38 2009] [warn] RSA server certificate CommonName (CN) `127.0.0.1' does NOT match server name!?
:35:39 2009] [notice] Child 4776: Child process is running
:35:39 2009] [notice] Child 4776: Acquired the start mutex.
:35:39 2009] [notice] Child 4776: Starting 500 worker threads.
:35:39 2009] [notice] Child 4776: Starting thread to listen on port 443.
:35:39 2009] [notice] Child 4776: Starting thread to listen on port 80.
Cannot receive start command
EACCELERATOR: PHP crashed

:37:11 2009] [crit] Parent: child process exited with status 3 -- Aborting.


以下是php.ini的部分內容,完整的php.ini文件在附件里

; zend_extension_ts="E:/APMServ5.2.6/zend/eAccelerator/eaccelerator.dll"
eaccelerator.shm_size="32"
eaccelerator.cache_dir="E:/APMServ5.2.6/tmp/eaccelerator/"
eaccelerator.enable="0"
eaccelerator.optimizer="1"
eaccelerator.check_mtime="1"
eaccelerator.debug="0"
eaccelerator.filter="!.php"
eaccelerator.shm_max="0"
eaccelerator.shm_ttl="0"
eaccelerator.shm_prune_period="0"  
eaccelerator.shm_only="0"
eaccelerator.compress="1"
eaccelerator.compress_level="9"
eaccelerator.keys = "shm"
eaccelerator.sessions = "shm"


zend_optimizer.optimization_level=1023
zend_optimizer.encoder_loader=1
zend_extension_ts ="E:/APMServ5.2.6/zend/ZendOptimizer-3.3.3/ZendExtensionManager.dll"
zend_extension_manager.optimizer_ts ="E:/APMServ5.2.6/zend/zendOptimizer-3.3.3"
zend_extension_manager.debug_server_ts="E:/APMServ5.2.6/zend/ZendDebugger"

zend_debugger.expose_remotely=allowed_hosts
zend_debugger.allow_hosts=127.0.0.1/32,192.168.1.0/24,192.168.1.0/24

   
; zend_extension_ts="E:/APMServ5.2.6/PHP/ext/php_xdebug.dll"
xdebug.remote_enable=On
xdebug.remote_autostart=On
xdebug.remote_handler=dbgp
xdebug.remote_host=192.168.1.100
xdebug.remote_port=9000
xdebug.remote_mode=req
xdebug.var_display_max_data=9999
《解決方案》

為題好像是在eaccelerator上,你把這個去掉試試

那個warn好像是RSA主機名問題,你ping下RSA是不是127.0.0.1
不是,在hosts里添加
或直接把RSA改成127.0.0.1吧
不過這個不是問題的關鍵:mrgreen:
《解決方案》

原帖由 rover12421 於 2009-10-23 09:41 發表 http://bbs3.chinaunix.net/images/common/back.gif
為題好像是在eaccelerator上,你把這個去掉試試

那個warn好像是RSA主機名問題,你ping下RSA是不是127.0.0.1
不是,在hosts里添加
或直接把RSA改成127.0.0.1吧
不過這個不是問題的關鍵:mrgreen:

我也覺得是eaccelerator的問題

所以我把它註釋掉了
; zend_extension_ts="E:/APMServ5.2.6/zend/eAccelerator/eaccelerator.dll"

難得這樣還不夠?還要註釋哪些語句啊?
《解決方案》

回復 #3 imgotop 的帖子

要註釋當然要整段的註釋,註釋一句更加會出錯


開始到下一個 []
全部註釋掉測試
《解決方案》

原帖由 rover12421 於 2009-10-23 13:21 發表 http://bbs3.chinaunix.net/images/common/back.gif
要註釋當然要整段的註釋,註釋一句更加會出錯


開始到下一個 []
全部註釋掉測試

哈哈,原來還可以這樣註釋,謝謝了

我試試
《解決方案》

eaccelerator,zend_optimizer,xdebug不建議同時使用,
類似的ext會對php底層操作函數重寫以滿足特定需求 同時使用會帶來不穩定性
有些ext在安裝手冊中明確指明不能與某些ext共存
《解決方案》

另外,  注意php是否是ts包
不是的話, zend_extension_ts要改為zend_extension
這個在5.3之後不存在 全部統一使用zend_extension形式
《解決方案》

另外,  注意php是否是ts包
不是的話, zend_extension_ts要改為zend_extension
這個在5.3之後不存在 全部統 ...
kimjxie 發表於 2009-10-29 20:25 http://bbs.chinaunix.net/images/common/back.gif

我看了一下phpinfo

我的是ts的

[火星人 ] 我的apache總是自動關閉,日誌提示EACCELERATOR: PHP crashed已經有900次圍觀

http://coctec.com/docs/service/show-post-18590.html