Plesk PHP open_basedir changes

To make a change to PHP for a site in Plesk, such as opening open_basedir, edit /var/www/vhosts/$domain/conf/vhost.conf. You would then add :

<Directory /var/www/vhosts/>
php_admin_value open_basedir “/var/www/vhosts/”

After that, you will need to rebuild the apache configuration with the following command:

/usr/local/psa/admin/sbin/websrvmng -v -a

You can leave a response, or trackback from your own site.

Leave a Reply