is_dir(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/www.abc.com/public:/home/www.abc.com/:/proc/:/tmp)
关键File(/)不是应该指向runtime/cache里面吗,怎么会变成/,我打印var_dump(RUNTIME_PATH . 'cache' . DS);输出"/home/www.abc.com/runtime/cache/",这里的地址对啊,真的搞不懂,有大神帮我解释下吗?
CACHE_PATH
设置的。建议你打印一下CACHE_PATH
,看看指向的目录在哪里。open_basedir
限制了PHP能操作的目录, 在虚拟主机的conf里加上然后重启nginx