/home/admin/tmp
是 admin admin -rwrw...
/usr/share/pear/PEAR.php
是 admin admin -rwrw...
我sys_temp_dir
在 php.ini 文件中删除了它!
Warning: require_once(): open_basedir restriction in effect. File(/usr/share/pear/PEAR.php) is not within the allowed path(s): (/home/admin/web/domain/public_html:/home/admin/tmp) in /home/admin/web/domain/public_html/w/vendor/autoload.php on line 8
Warning: require_once(/usr/share/pear/PEAR.php): failed to open stream: Operation not permitted in /home/admin/web/domain/public_html/w/vendor/autoload.php on line 8
答案1
您需要open_basedir
在您的 中更新php.ini
以包含/usr/share/PEAR
。