Disable safe mode for subdomain on plesk


June 25th, 2008

If you need to disable safe more for subdomain on a plesk server, follow this:

Edit the file:

/var/www/vhosts/domain.com/subdomains/<subdomain-name>/conf/vhost.conf

Add the below code in this vhost.conf :

<Directory /var/www/vhosts/domain.com/subdomains/<subdomain-name>/httpdocs>
php_admin_flag safe_mode off
</Directory>

The, reconfigure plesk by the command:

# /usr/local/psa/admin/sbin/websrvmng –reconfigure-vhost –vhost-name=domain.com

Now restart Apache with the command:

# /etc/rc.d/init.d/httpd restart

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