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
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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
open_basedir 意味着 php 仅限于它可以包含文件的文件夹。基本上,您尝试获取的文件无法访问,您需要移动它或更改您的 php 设置
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