This is not possible as default using Plesk. You need to override the open_basedir restriction by placing a file called vhost.conf in the /var/www/vhosts/**domain.com**/conf / directory.
<directory>Save it and then restart the appropriate services with:
php_admin_value open_basedir "/var/www/vhosts/**domain**/httpdocs:/tmp:***directory/***"
sudo /opt/psa/admin/sbin/websrvmng -v -aYou also need to ensure that the domain has PHP safe mode switched off:
Menu -> Domains -> domain.com -> SetupThis will create configuration files for all domains and restart the appropraite services.
uncheck the safe mode box (near the bottom of the page)