Showing MySQL and PostgreSQL’s results on expanded or vertical display HTML / JavaScript: Focus user on first available field
Jan 17

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 your domain as needed.

To configure safe_mode usage, edit or create the file:
/home/httpd/vhosts//conf/vhost.conf

The contents of the file should be something like:
/httpdocs>
Options +FollowSymLinks

php_admin_flag safe_mode Off

Note that you can not edit /home/httpd/vhosts//conf/httpd.include as it overwritten by Plesk so all your changes would be lost if put there.

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.

Leave a Reply

You must be logged in to post a comment.