How do I disable PHP safe mode on my 123 Reg server running Plesk?

This article will explain how you can disable PHP safe mode on a 123 Reg server running Plesk.

To disable the PHP Safe mode globally (i.e server wide), please edit the following files:

Please Note: Changing the below files is not recommended and should be done so at own risk.

  • /etc/php5/apache2/php.ini
  • /etc/php5/cgi/php.ini
  • /etc/php5/cli/php.ini

You will need to alter the following directives within the files to: Safe mode = Off

Alternatively, should you wish to disable this on a per-site basis, please follow the steps below.

Please note: this article was originally created for our previous generation of Virtual Private Servers. As such, these instructions may not be relevant to our current generation of Virtual Private Servers.

Step 1 of 8

Login to your Parallels Plesk Panel.

Step 2 of 8

Click on the Subscriptions link on the left panel.

Step 3 of 8

Click on the Open in Control Panel link for the relevant domain name.

Step 4 of 8

Click on the Website & Domains tab.

Step 5 of 8

Click on the Domain name link for the relevant domain name.

Step 6 of 8

Click on the PHP Settings tab.

Step 7 of 8

Under the Common Settings section select OFF from the drop down box next to safe_mode.

Step 8 of 8

Click on the OK button.

To learn more about PHP safe mode, refer to http://php.net/features.safe-mode.