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 |
<Directory /var/www/vhosts/somedomain.com/httpdocs> php_admin_flag engine on php_admin_value open_basedir none </Directory> |