改了php.ini中的open_basedir仍报错open_basedir restriction in effect的解决方法

报错如下: [error] 9342#0: *1 FastCGI sent in stderr: "PHP message: PHP Warning : open_basedir restriction in effect. File(/index.php) is not within the allowed path(s): (/wwwroot/public/:/tmp/:/proc/) ... on line 31。(环境 lnmp1.2及以上 LAMP 1.2以上)

阅读 1.7k
0 条评论