lnmp环境require():open_basedir

vi /usr/local/nginx/conf/fastcgi.conf
修改内容(文件最下面)

原内容:
fastcgi_param PHP_ADMIN_VALUE "open_basedir=$document_root/:/tmp/:/proc/";

修改后 
fastcgi_param PHP_ADMIN_VALUE "open_basedir=/mnt/hgfs:/tmp/:/proc/";

分享名称:lnmp环境require():open_basedir
网页路径:http://ybzwz.com/article/goicgc.html