How do you fix require_once(): open_basedir restriction in effect with VestaCP?
Posted: Thu Apr 29, 2021 7:03 pm
With my CentOS VestaCP installation I can't get it to see pear
require_once ("System.php"); // for pear
Errors with:
Warning: require_once(): open_basedir restriction in effect. File(/usr/share/pear/System.php) is not within the allowed path(s): (/home/$my_account/web/$my_domain/public_html:/home/$my_account/tmp) in /home/$my_account/web/$my_domain/public_html/smtp/test-pear.php on line 34
Ideas?
yesornogenerator
require_once ("System.php"); // for pear
Errors with:
Warning: require_once(): open_basedir restriction in effect. File(/usr/share/pear/System.php) is not within the allowed path(s): (/home/$my_account/web/$my_domain/public_html:/home/$my_account/tmp) in /home/$my_account/web/$my_domain/public_html/smtp/test-pear.php on line 34
Ideas?
yesornogenerator