just do it

php-nginx 500: is not within the allowed path(s)

php-nginx 500: is not within the allowed path(s)
是指:php.ini设置了某个文件没有读的权限:open_basedir
解决办法,在php.ini尾部添加
[HOST=test.org]
open_basedir=/data/wwwroot/test.org/:/tmp/
[PATH=/data/wwwroot/test.org]
open_basedir=/data/wwwroot/test.org/:/tmp/

点赞