删除
public/.user.ini
修改
/usr/local/nginx/conf/fastcgi.conf
删除或者注释一下这一行
# fastcgi_param PHP_ADMIN_VALUE "open_basedir=$document_root/:/tmp/:/proc/";
- 重启lnmp环境
删除 public/.user.ini
修改 /usr/local/nginx/conf/fastcgi.conf
删除或者注释一下这一行
# fastcgi_param PHP_ADMIN_VALUE "open_basedir=$document_root/:/tmp/:/proc/";