How to enable open_basedir for particular domain in plesk

SSH into your Plesk machine as “root” and go to the conf directory for the domain.
Create a “vhost.conf” file in:

/var/www/vhosts/<domain name>/conf/

<Directory /var/www/vhosts/<domain name>/httpdocs>
php_admin_value safe_mode on
php_admin_value open_basedir none
</Directory>

Rebuild the domain configs for the particular host via::–

/usr/local/psa/admin/sbin/websrvmng -u --vhost-name=<domain name>

or rebuild all via :

/usr/local/psa/admin/sbin/websrvmng -a
service httpd reload

Done.

If you don’t know how to run backup on plesk you can check here