Warning : require(): open_basedir restriction in effect. File(/home/wwwroot/default/test_act/bootstrap/autoload.php) is not within the allowed path(s): (/home/wwwroot/default/test_act/public:/tmp/:/proc/) in /home/wwwroot/default/test_act/public/index.php on line 22
Warning : require(/home/wwwroot/default/test_act/bootstrap/autoload.php): failed to open stream: Operation not permitted in /home/wwwroot/default/test_act/public/index.php on line 22
Fatal error: require(): Failed opening required '/home/wwwroot/default/test_act/public/../bootstrap/autoload.php' (include_path='.:/usr/local/php5.6/lib/php') in /home/wwwroot/default/test_act/public/index.php on line 22
在
/usr/local/nginx/conf/fastcgi.conf
#fastcgi_param PHP_ADMIN_VALUE "open_basedir=$document_root/:/tmp/:/proc/";
fastcgi_param PHP_ADMIN_VALUE "open_basedir=/home/wwwroot/:/tmp/:/proc/";
加载首页 点击404