Parallels Plesk Panel 8.0 and above configures the httpd.include file for each domain for overall Website security. As such, it enables the open_basedir directive for PHP, so that PHP scripts can only access files located in the '/var/www/vhosts/domain.com/httpdocs/' and '/tmp' directories.
To modify this setting, create a vhost.conf file in your /var/www/vhosts/domain.com/conf/ directory, and enter the following lines:
Save this file and enter the command:
If you are using Parallels Plesk Panel 10, enter the following command instead:
This will update the main httpd.include file to include the new vhost.conf file, and will also gracefully restart the Web service so the changes take effect.