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.



