Turning off safe_mode and open_basedir in Plesk
Thu, 08/30/2007 - 22:17 — sandipCreate a "vhost.conf" file in "/var/www/vhosts/<DOMAIN.TL
<Directory /var/www/vhosts/<DOMAIN.TLD >/httpdocs>
php_admin_value safe_mode off
php_admin_value open_basedir none
</Directory>
Rebuild the domain configs for the particular host via:
/usr/local/psa/admin/sbin/webs rvmng -u --vhost-name=<DOMAIN.TLD> ;
or rebuild all via:
# /usr/local/psa/admin/sbin/webs rvmng -a