免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 9714 | 回复: 7

[Web] 我的apache总是自动关闭,日志提示EACCELERATOR: PHP crashed [复制链接]

论坛徽章:
0
发表于 2009-10-22 15:51 |显示全部楼层
我用的是apmserv5.26+Zend debugger,apache总是自动关闭,日志提示
[4776] EACCELERATOR: PHP crashed

[Thu Oct 22 15:37:11 2009] [crit] Parent: child process exited with status 3 -- Aborting.
[/code]

请问该如何处理呢?


以下是error.log文件的内容

********************************************************************************************
APMServ最近一次启动、运行、停止过程中的Apache通知[notice]、提醒[warn]、错误[error]日志如下:
********************************************************************************************
[Thu Oct 22 15:35:35 2009] [warn] RSA server certificate CommonName (CN) `127.0.0.1' does NOT match server name!?
[Thu Oct 22 15:35:35 2009] [warn] RSA server certificate CommonName (CN) `127.0.0.1' does NOT match server name!?
[Thu Oct 22 15: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
[Thu Oct 22 15:35:37 2009] [notice] Server built: Jun 13 2008 04:04:59
[Thu Oct 22 15:35:37 2009] [notice] Parent: Created child process 4776
[Thu Oct 22 15:35:37 2009] [warn] RSA server certificate CommonName (CN) `127.0.0.1' does NOT match server name!?
[Thu Oct 22 15:35:38 2009] [warn] RSA server certificate CommonName (CN) `127.0.0.1' does NOT match server name!?
[Thu Oct 22 15:35:39 2009] [notice] Child 4776: Child process is running
[Thu Oct 22 15:35:39 2009] [notice] Child 4776: Acquired the start mutex.
[Thu Oct 22 15:35:39 2009] [notice] Child 4776: Starting 500 worker threads.
[Thu Oct 22 15:35:39 2009] [notice] Child 4776: Starting thread to listen on port 443.
[Thu Oct 22 15:35:39 2009] [notice] Child 4776: Starting thread to listen on port 80.
[Zend Debugger] Cannot receive start command
[4776] EACCELERATOR: PHP crashed

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



以下是php.ini的部分内容,完整的php.ini文件在附件里
[eaccelerator]
; 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]
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

[Xdebug]   
; 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

php.rar

15.49 KB, 下载次数: 68

论坛徽章:
39
白银圣斗士
日期:2015-11-24 10:40:40酉鸡
日期:2015-03-20 14:15:44寅虎
日期:2015-03-20 14:13:59午马
日期:2015-03-20 14:13:16白羊座
日期:2015-03-20 14:12:54金牛座
日期:2015-03-20 14:12:09双子座
日期:2015-03-20 14:11:57巨蟹座
日期:2015-03-20 14:11:44狮子座
日期:2015-03-20 14:11:29亥猪
日期:2015-03-20 14:16:24戌狗
日期:2015-03-20 14:16:40申猴
日期:2015-03-20 14:17:05
发表于 2009-10-23 09:41 |显示全部楼层
为题好像是在eaccelerator上,你把这个去掉试试

那个warn好像是RSA主机名问题,你ping下RSA是不是127.0.0.1
不是,在hosts里添加
或直接把RSA改成127.0.0.1吧
不过这个不是问题的关键

论坛徽章:
0
发表于 2009-10-23 12:31 |显示全部楼层
原帖由 rover12421 于 2009-10-23 09:41 发表
为题好像是在eaccelerator上,你把这个去掉试试

那个warn好像是RSA主机名问题,你ping下RSA是不是127.0.0.1
不是,在hosts里添加
或直接把RSA改成127.0.0.1吧
不过这个不是问题的关键


我也觉得是eaccelerator的问题

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

难得这样还不够?还要注释哪些语句啊?

论坛徽章:
39
白银圣斗士
日期:2015-11-24 10:40:40酉鸡
日期:2015-03-20 14:15:44寅虎
日期:2015-03-20 14:13:59午马
日期:2015-03-20 14:13:16白羊座
日期:2015-03-20 14:12:54金牛座
日期:2015-03-20 14:12:09双子座
日期:2015-03-20 14:11:57巨蟹座
日期:2015-03-20 14:11:44狮子座
日期:2015-03-20 14:11:29亥猪
日期:2015-03-20 14:16:24戌狗
日期:2015-03-20 14:16:40申猴
日期:2015-03-20 14:17:05
发表于 2009-10-23 13:21 |显示全部楼层

回复 #3 imgotop 的帖子

要注释当然要整段的注释,注释一句更加会出错

[eaccelerator]
开始到下一个 []
全部注释掉测试

论坛徽章:
0
发表于 2009-10-26 15:38 |显示全部楼层
原帖由 rover12421 于 2009-10-23 13:21 发表
要注释当然要整段的注释,注释一句更加会出错

[eaccelerator]
开始到下一个 []
全部注释掉测试


哈哈,原来还可以这样注释,谢谢了

我试试

论坛徽章:
0
发表于 2009-10-29 20:22 |显示全部楼层
eaccelerator,zend_optimizer,xdebug不建议同时使用,
类似的ext会对php底层操作函数重写以满足特定需求 同时使用会带来不稳定性
有些ext在安装手册中明确指明不能与某些ext共存

论坛徽章:
0
发表于 2009-10-29 20:25 |显示全部楼层
另外,  注意php是否是ts包
不是的话, zend_extension_ts要改为zend_extension
这个在5.3之后不存在 全部统一使用zend_extension形式

论坛徽章:
0
发表于 2010-03-11 15:51 |显示全部楼层
另外,  注意php是否是ts包
不是的话, zend_extension_ts要改为zend_extension
这个在5.3之后不存在 全部统 ...
kimjxie 发表于 2009-10-29 20:25


我看了一下phpinfo

我的是ts的
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP