SMTP | Warning: require_once(): open_basedir restriction in effect. File(/usr/share/pear/System.php) is not within ...
Posted: Tue Mar 24, 2020 1:30 am
I am a novice with SMTP, found some instructions to both install SMTP and PEAR. The install looks good. When I get around to testing to see if they work I have a short test script with these includes:
require_once "Mail.php";
System is supposed to show a true response and doesn't. If I include the Mail.php line it breaks the balance of the page.
I get several error lines if I enable php errors like:
How would you go about resolving this problem?
Code: Select all
require_once 'System.php';
var_dump(class_exists('System', false));
Code: Select all
System is supposed to show a true response and doesn't. If I include the Mail.php line it breaks the balance of the page.
I get several error lines if I enable php errors like:
Code: Select all
Warning: require_once(): open_basedir restriction in effect. File(/usr/share/pear/System.php) is not within the allowed path(s): (/home/testing/web/develtesting.com/public_html:/home/testing/tmp) in /home/testing/web/develtesting.com/public_html/smtp/check-installation.php on line 43