If you have an open_basedir restriction that is causing issues with a domain, you can remove the restriction easily. First, put the following text in /home/httpd/vhosts/[domain]/conf/vhost.conf:
<Directory /home/httpd/vhosts/[domain]/httpdocs>
php_admin_value open_basedir none
</Directory>
If there was already a vhost.conf in the directory, then just reload Apache. Otherwise, run the magic wand:
/usr/local/psa/admin/bin/websrvmng -av
Then reload Apache:
/etc/init.d/httpd reload












I have tried this but the restriction has not removed. any ideas
What if it is a shared server? The hosting company will not allow you to change this value, you can not even access de conf directory for your domain.
Is there any way around?
Thanks.
Thank you very much. This worked for me – which cannot be said about the original How-To of Parallels:
http://kb.parallels.com/article_41_432_en.html
The only thing I had to replace is the last line of code, since my apache was located differently:
/etc/init.d/apache2 reload