Here’s a quick bit of apache config that can be placed in the conf/vhost.conf file of a Plesk site to turn off the open_basedir restrictions:
|
1 2 3 4 5 6 |
<Directory /var/www/vhosts/somedomain.com/httpdocs> php_admin_flag engine on php_admin_value open_basedir none </Directory> |





2 Responses
For server wide changes you can edit this file:
/usr/local/psa/admin/conf/templates/default/service/php.php
Then reload all.
This is plesks template file so when it rebuilds the config files, it uses this.
Mike … great alternative for making the same change server wide.