codeigniter中的open_basedir限制错误

时间:2010-11-12 19:19:45

标签: php apache codeigniter open-basedir

我无法弄清楚如何解决这个问题:

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. 
File(./codeigniter/logs/log-2010-11-12.php) is not within the allowed path(s): 
(/var/www/vhosts/example.com/httpdocs:/tmp) in 
/var/www/vhosts/example.com/httpdocs/codeigniter/libraries/Log.php on line 92

1 个答案:

答案 0 :(得分:1)

open_basedir意味着php仅限于可以包含文件的文件夹。基本上你无法访问你想要获取的文件,你需要移动它或更改你的php设置