VPS侦探论坛

 找回密码
 注册
查看: 6617|回复: 1

升级php5.2.17 后 eAccelerator 失败

[复制链接]
发表于 2012-1-14 22:39:13 | 显示全部楼层 |阅读模式

谢谢军哥出的LNMP 和升级5.2.17的补丁。但是升级后,探针显示不支持eAccelerator。
系统是debian  32位,lnmp 0.7。


我按照这里的指示升级以后 https://www.vpser.net/security/f ... -collision-bug.html

LNMP 自动重启,重启时出现错误提示:
Starting php_fpm [eAccelerator] This build of "eAccelerator" was compiled for PHP version 5.2.17. Rebuild it for your PHP version (5.2.17p1) or download precompiled binaries.
done

重启后,执行./eaccelerator.sh 安装,安装最后出现一下提示:
Starting php_fpm Failed loading /usr/local/php/lib/php/extensions/no-debug-non-zts-20090626/eaccelerator.so:  /usr/local/php/lib/php/extensions/no-debug-non-zts-20090626/eaccelerator.so: cannot open shared object file: No such file or directory
done
===================== install eaccelerator completed ===================
Install eAccelerator completed,enjoy it!

重启后LNMP提示:

Stoping LNMP...
Nginx program is stop
Shutting down php_fpm . done
PHP-FPM program is stop
Shutting down MySQL. SUCCESS!
MySQL program is stop
Starting LNMP...
Nginx start successfully!
Starting php_fpm Failed loading /usr/local/php/lib/php/extensions/no-debug-non-zts-20090626/eaccelerator.so:  /usr/local/php/lib/php/extensions/no-debug-non-zts-20090626/eaccelerator.so: cannot open shared object file: No such file or directory
done
PHP-FPM start successfully!
Starting MySQL. SUCCESS!
MySQL start successfully!

php -v 信息如下:


Failed loading /usr/local/php/lib/php/extensions/no-debug-non-zts-20090626/eaccelerator.so:  /usr/local/php/lib/php/extensions/no-debug-non-zts-20090626/eaccelerator.so: cannot open shared object file: No such file or directory
PHP 5.2.17p1 (cli) (built: Jan 14 2012 21:59:55)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
    with Zend Optimizer v3.3.9, Copyright (c) 1998-2009, by Zend Technologies


探针显示不支持eAccelerator,请问如何处理?
谢谢帮助。
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2012-1-15 08:45:02 | 显示全部楼层


如果是用过了php 5.2的hash修复脚本,修改php.ini 将里面的no-debug-non-zts-20090626 改成no-debug-non-zts-20060613 重启。
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-11-16 12:40 , Processed in 0.025687 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表