报错如下:PHP Warning: Unknown: open_basedir restriction in effect. File(D:\wwwroot\horicraft.com\index.php) is not within the allowed path(s): (/www/wwwroot/xxxx.com/:/tmp/:/proc/) in Unknown on line 0PHP Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0
网站建设站长们,搭建或者搬家过来的时候会出现上面的问题,可能存在的原因:
遇到这个问题,研究了很久,结果发现上传的文件的全部没有读权限 不只是文件夹,上传的文件也要至少添加+444的权限,也就是读的权限
|