P粉6593785772023-08-24 14:26:58
To resolve this error, you must edit the file httpd.conf. This was previously seen in the Server Root directive in the apache2handler section of phpinfo. For example, my example is like this -/etc/httpd/httpd.conf. Open the file httpd.conf and find the parameter open_basedir. and set it to None. (php_admin_value open_basedir None)
P粉0065406002023-08-24 14:05:47
Modify the open_basedir setting in your hosting account and set it to none. Find the open_basedir setting given under the PHP Settings area of Plesk/cPanel. Set it to "None" from the drop-down list given there. I have shown them in the Plesk panel picture.