本文介绍了在codeigniter open_basedir的限制错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我无法弄清楚如何解决这一问题:
警告:file_exists()[function.file-存在]:实际上open_basedir的限制。
文件(./codeigniter /日志/日志2010-11-12.php)是不是在允许的路径(S)内:
(/var/www/vhosts/example.com/httpdocs:/tmp)在
/var/www/vhosts/example.com/httpdocs/$c$cigniter/libraries/Log.php在线92
解决方案
指的open_basedir PHP仅限于文件夹也可以从包含文件。基本上你是试图让不能被访问的文件,你需要移动或改变你的PHP设置
I can't figure out how to fix this:
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
解决方案
open_basedir means php is restricted to the folders it can include files from. Basically the file you are trying to get cannot be accessed, you'll need to move it or change your php settings
这篇关于在codeigniter open_basedir的限制错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!