修改Nginx的conf下的fastcgi.conf
其中 fastcgi_param PHP_ADMIN_VALUE "open_basedir=$document_root/:/tmp/:/proc/"; 这句话注销即可。
原因:这个变量限制php的访问目录。
修改Nginx的conf下的fastcgi.conf
其中 fastcgi_param PHP_ADMIN_VALUE "open_basedir=$document_root/:/tmp/:/proc/"; 这句话注销即可。
原因:这个变量限制php的访问目录。
本文标题:PHP warrning:open_basedir() rest
本文链接:https://www.haomeiwen.com/subject/ujvqzqtx.html
网友评论