VPS侦探论坛

 找回密码
 注册
查看: 8727|回复: 6

装了 lnmpa后 如何开启 eAccelerator

[复制链接]
发表于 2011-4-30 02:40:49 | 显示全部楼层 |阅读模式

装了 lnmpa后 如何开启 eAccelerator

./eaccelrator.sh 过了。没用

如果是lnmp下的话 有用。
但现在升级lnmpa 就没用了。
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2011-4-30 09:04:08 | 显示全部楼层


./eaccelrator.sh
lnmp 和lnmpa通过,不过有时候没有重启成功,需要用/root/lnmp restart 或/root/lnmpa restart重启
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2011-4-30 15:39:59 | 显示全部楼层

原来如此~~谢谢解答~
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2011-4-30 15:41:49 | 显示全部楼层



遇到新问题了
开启了 EA 后

DISCUZ 出现如下错误提示

Warning: Unknown: open_basedir restriction in effect. File() is not within the allowed path(s): (/home/wwwroot:/tmp/:/var/tmp/:/proc/) in Unknown on line 0

Warning: require() [function.require]: open_basedir restriction in effect. File() is not within the allowed path(s): (/home/wwwroot:/tmp/:/var/tmp/:/proc/) in /home/wwwroot/admin.php on line 17
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2011-4-30 17:33:56 | 显示全部楼层

DISCUZ 出现如下错误提示

Warning: Unknown: open_basedir restriction in effect. File() is not within the allowed path(s): (/home/wwwroot:/tmp/:/var/tmp/:/proc/) in Unknown on line 0

Warning: require() [function.require]: open_basedir restriction in effect. File() is not within the allowed path(s): (/home/wwwroot:/tmp/:/var/tmp/:/proc/) in /home/wwwroot/admin.php on line 17 我的也是 :Q :Q :Q :Q :'( :'( :'( :'( :'( :'(

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

发表于 2011-4-30 19:01:56 | 显示全部楼层

试试这个?

open_basedir restriction in effect的错误及其解决办法
http://www.panpan.org/htgardenml ... /2009/1228/772.html
 楼主| 发表于 2011-5-2 15:59:13 | 显示全部楼层

lnmpa 开启 eAccelerator 后 PHP页面出错


开启了 EA 后

DISCUZ 出现如下错误提示

Warning: Unknown: open_basedir restriction in effect. File() is not within the allowed path(s): (/home/wwwroot:/tmp/:/var/tmp/:/proc/) in Unknown on line 0

Warning: require() [function.require]: open_basedir restriction in effect. File() is not within the allowed path(s): (/home/wwwroot:/tmp/:/var/tmp/:/proc/) in /home/wwwroot/admin.php on line 17

似乎是权限问题 但是我用的是默认站点,没有 vhost 里的


php_admin_value open_basedir "/home/wwwroot/uc_server:/tmp/:/var/tmp/:/proc/"


这个设置参数。不知道该怎么弄
请老大赐教

[ 本帖最后由 nobita215 于 2011-5-2 16:06 编辑 ]
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-20 12:07 , Processed in 0.026931 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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