Назад | Перейти на главную страницу

как открыть доступ к каталогу PEAR в php, CentOs?

/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

Вам нужно обновить open_basedir в твоем php.ini включать /usr/share/PEAR.