VPS侦探论坛

 找回密码
 注册
查看: 5709|回复: 4

lnmp重启出现的问题

[复制链接]
发表于 2012-3-26 19:48:39 | 显示全部楼层 |阅读模式

Stoping LNMP...
Nginx program is stop
Shutting down php_fpm . done
PHP-FPM program is stop
Shutting down MySQL. SUCCESS!
MySQL program is stop

执行/root/lnmp restart后出现的问题,貌似eaccelerator和ioncube安装有问题,但重装后依旧

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
Failed loading /usr/local/ioncube/ioncube_loader_lin_5.3.so:  /usr/local/ioncube/ioncube_loader_lin_5.3.so: undefined symbol: zend_resolve_path
done
PHP-FPM start successfully!
Starting MySQL. SUCCESS!
MySQL start successfully!
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2012-3-26 20:02:57 | 显示全部楼层


修改:/usr/local/php/etc/php.ini

原来:zend_extension="/usr/local/ioncube/ioncube_loader_lin_5.3.so"


改成:zend_extension="/usr/local/ioncube/ioncube_loader_lin_5.2.so"


php 5.2.17 使用ioncube_loader_lin_5.2.so不是5.3

原来:zend_extension="/usr/local/php/lib/php/extensions/no-debug-non-zts-20090626/eaccelerator.so"


改成:zend_extension="/usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/eaccelerator.so"

eaccelerator路径是no-debug-non-zts-20060613 而不是no-debug-non-zts-20090626
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2012-3-26 21:20:01 | 显示全部楼层

php -v看一下版本
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2012-3-27 08:24:18 | 显示全部楼层



我昨天下载的0.8full安装的
[root@CentOS ~]# php -v
PHP 5.2.17p1 (cli) (built: Mar 26 2012 11:46:25)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
    with eAccelerator v0.9.5.3, Copyright (c) 2004-2006 eAccelerator, by eAccelerator
    with the ionCube PHP Loader v4.0.14, Copyright (c) 2002-2011, by ionCube Ltd., and
    with Zend Optimizer v3.3.9, Copyright (c) 1998-2009, by Zend Technologies
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2012-3-27 08:45:33 | 显示全部楼层

可能是php判断版本错误,安装成了5.3的ea和inocube,需要手动编译安装ea和inocube

军哥运维代购:http://shop63846532.taobao.com/

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-17 01:33 , Processed in 0.027559 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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