Change open_basedir for a domain on a linux plesk server


April 21st, 2008

In plesk if you need to set open_basedir to none, for this do the following:

nano /var/www/vhosts/yourdomain.com/conf/vhost.conf

add the following code in vhost.conf

<Directory /var/www/vhosts/yourdomain.com/httpdocs>
php_admin_flag engine on

php_admin_value open_basedir none
</Directory>

Now, you will have to reconfigure plesk for this domain – by the following command:

/usr/local/psa/admin/sbin/websrvmng -u —vhost-name=yourdomain.com

Then restart apache. That’s it!

This article is released by SupportFacility.Com — the leaders in providing outsourced technical support, live chat support & help desk support for web hosts. Interested ? Opt for a trial now.


No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment