容器技术交流

 找回密码
 立即注册
查看: 7645|回复: 5

一个open_basedir 错误。。

[复制链接]
发表于 2009-10-22 11:13:51 | 显示全部楼层 |阅读模式
open_basedir restriction in effect. File(/templates_caceh.php) is not within the allowed path(s):
发表于 2009-10-23 10:23:32 | 显示全部楼层
1、请把网站放到/home/ftp下面
2、如果有子网站,那么请用nginx
 楼主| 发表于 2009-10-26 20:32:28 | 显示全部楼层
确实是放在HOME/FTP下的哦

Warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/templates_caceh.php) is not within the allowed path(s): (/home/ftp/XXX_XXX_com/:/tmp/:/var/tmp/) in /usr/home/ftp/XXX_1XXXX_com/wwwroot/lib/template.php on line 50
 楼主| 发表于 2009-10-28 22:42:53 | 显示全部楼层
???管理员辛苦帮帮忙看看
发表于 2011-6-17 16:51:56 | 显示全部楼层
升级成LuManager吧!
发表于 2012-9-8 13:52:29 | 显示全部楼层
问:Warning: Unknown: open_basedir restriction in effect. File() is not within the allowed path(s): (/:/tmp/:/var/tmp/) in Unknown on lin e 0

答:这个是 eaccelerator 的问题,从 discuz 官方得到的消息称 eaccelerator 从0.9.5.3 之后不支持神马缓存。将 php.ini 里的 eaccelerator 注释掉或删除。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Archiver|URLOS ( 粤ICP备18087780号 )

GMT+8, 2025-7-4 10:27 , Processed in 0.037979 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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