How to manage open_basedir option in Linux Plesk Servers

They way to do such change in plesk 7,5 and in 8,x is different so follow the instructions below:


*********7.5 PLESK ONLY ********

I made it work.
For example if you want to change the
Just make a file : open_basedir option for a site located inside the httpsdocs (just like I did)

go to : /home/httpd/vhosts/yourdomain.tld/conf/
make a file named: vhost_ssl.conf
and type inside :

<Directory /home/httpd/vhosts/mydomain.tld/httpsdocs>
php_admin_value open_basedir none
</Directory>

Run /usr/local/psa/admin/sbin/websrvmng -u –vhost-name=yourdomain.tld
and /etc/init.d/httpd restart

*********open_basedir se PLESK 8.x ONLY **************

go to : /home/httpd/vhosts/yourdomain.tld/conf/
make a file named: vhost_ssl.conf
and type inside :

<Directory /home/httpd/vhosts/mydomain.tld/httpsdocs>
php_admin_value open_basedir none
</Directory>

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

Restart Apache after php.ini changing.

http://kb.swsoft.com/en/432