标签:cgi root doc nmp usr 环境 proc cti roc
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 restriction in effe
标签:cgi root doc nmp usr 环境 proc cti roc
原文地址:https://blog.51cto.com/itafei/2357872