Disabling PHP’s safe_mode on Plesk
Filed Under (PHP, Plesk) by admin on 17-01-2007
In Plesk, you can disable on a per-domain basis PHP’s safe_mode. Before doing this though, be advised that disabling safe_mode could lead to security risks for all of your domains on the server.
On the following steps, replace
To configure safe_mode usage, edit or create the file:
/home/httpd/vhosts/
The contents of the file should be something like:
Options +FollowSymLinks
php_admin_flag safe_mode Off
Note that you can not edit /home/httpd/vhosts/
For the changes to take effect, you need to run the following:
/usr/local/psa/admin/sbin/websrvmng --reconfigure-vhost --vhost-name=
And then, reload Apache’s configuration with:
service httpd reload
Tested under Plesk 7.5.4.