Hello,
According to the Plesk Knowledge Base (
http://kb.swsoft.com/en/432), you need to modify the vhost.conf file for your domain and then re-generate Apache configuration in order to properly modify open_basedir setting. To change open_basedir setting for your subdomain, SSH into the server as root, open the subdomain's vhost.conf in a editor:
nano /var/www/vhosts/domain.tld/subdomains/subdomain/conf/vhost.conf
and put in the following content into it replacing the allowed paths in open_basedir and setting Directory to the real subdomain root directory:
<Directory /var/www/vhosts/domain.tld/subdomains/subdomain/httpdocs>
php_admin_value open_basedir "HTTPD_VHOSTS_D/domain.com/subdomains/subdomain/httpdocs:/tmp:/ADD_PATH"
</Directory>
If you need to disable open_basedir protection for the domain completely replace the open_basedir path with "none" word:
php_admin_value open_basedir none
Now you will need to execute:
/usr/local/psa/admin/sbin/websrvmng -v -a
to re-generate Apache configuration and apply the adjustment you made to httpd.include of subdomain.
Finally, restart Apache:
/etc/init.d/httpd stop
/etc/init.d/httpd start
and you should be good to go.
I hope this helps. Please advise if you have any further questions.