Warning: require_once(): open_basedir restriction in effect.


Warning: require_once(): open_basedir restriction in effect. File(/www/wwwroot/qvmhweb/fun/MGQrCodeReader/MGQrCodeReader.php) is not within the allowed path(s): (/www/wwwroot/qvmhweb/pub/:/tmp/) in /www/wwwroot/qvmhweb/pub/index.php on line 8

Warning: require_once(/www/wwwroot/qvmhweb/fun/MGQrCodeReader/MGQrCodeReader.php): failed to open stream: Operation not permitted in /www/wwwroot/qvmhweb/pub/index.php on line 8

Fatal error: require_once(): Failed opening required '../fun/MGQrCodeReader/MGQrCodeReader.php' (include_path='.:/www/server/php/70/lib/php') in /www/wwwroot/qvmhweb/pub/index.php on line 8

chmod: 更改“www.bendihmltest.com/.user.ini“ 的权限: 不允许的操作

在该文件夹 的上一级执行:(www.bendihmltest.com为我本地的需要改权限的文件夹)

 chattr -i www.bendihmltest.com/.user.ini 

最后执行:

chmod -R 777 www.bendihmltest.com/

删除 .user.ini文件解决问题

rm -rf  .user.ini
posted @ 2023-07-20 16:30  Lafite-1820  阅读(179)  评论(0编辑  收藏  举报