Page 1 of 1

Question

Posted: Tue Apr 04, 2017 10:35 am
by codezero
I'm using vesta as a control panel for my clients, today one of my clients again loaded your site account

but there 'this error, and the site does not work:

require(): open_basedir restriction in effect. File(/usr/share/pear/PEAR.php) is not within the allowed path(s):
require(/usr/share/pear/PEAR.php): failed to open stream: Operation not permitted



What can I do for him?

Re: Question

Posted: Tue Apr 04, 2017 11:22 am
by skurudo
You can disable open_basedir option (not very secure decision)
or add additional directory to open_basedir folders.

Re: Question

Posted: Wed Apr 05, 2017 10:55 am
by vibol
you can add additional open_basedir parameter (php_admin_value open_basedir) in httpd.conf ..
/home/$user/conf/web/httpd.conf ..