网上找的lnmp集成包 项目部署完成后发现页面空白 (更改php报错级别后发现错误原因:Warning: require(): open_basedir restriction in effect. File(/usr/local/nginx/html/thinkSwooleFirst/thinkphp/start.php) is not within the allowed path(s): (/usr/local/nginx/html/thinkSwooleFirst/public/:/tmp/:/proc/) in /usr/local/nginx/html/thinkSwooleFirst/public/index.php on line 19) 关键问题:open_basedir restriction in effect:(open_basedir限制有效) 后面找到nginx配置文件下的fastcgi.conf发现最后一行代码 fastcgi_param PHP_ADMIN_VALUE "open_basedir=$document_root/:/tmp/:/