安装在Media Temple DV:上的Laravel出现问题
tempnam(): open_basedir restriction in effect. File() is not within the allowed path(s): (/var/www/vhosts/mywebsite.com/:/tmp/)
这是给出这个问题的代码:
if (empty($this->cookie_file)) {
$this->cookie_file = tempnam("", "phrets");
}
我想这可能是权限问题,但我真的不太确定。
您似乎需要将使用表单tempnam
的目录添加到open_basedir
中,或者要求服务器管理员关闭(引用)