php-nginx 500: is not within the allowed path(s)
linux /
2016年10月13日 21时15分 /
14974人浏览
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/