美文网首页
PHP warrning:open_basedir() rest

PHP warrning:open_basedir() rest

作者: 日三省吾身 | 来源:发表于2019-05-19 18:18 被阅读0次

    修改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