open_basedir restriction error in codeigniter

瘦欲@ 提交于 2019-12-13 06:33:46

问题


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

回答1:


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



来源:https://stackoverflow.com/questions/4168258/open-basedir-restriction-error-in-codeigniter

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!