How do I disable PHP safe mode?
This article applies to 123 Reg Linux VPS hosting
This article will explain how you can disable PHP safe mode.
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.
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 these steps:
Step 1 of 5
Login to your Parallels Plesk Panel.
Step 2 of 5
Click on the Websites & Domains tab.
Step 3 of 5
Click on the relevant domain name link.
Step 4 of 5
Under the Web Scripting and Statistics section deselect the tick box next to PHP 'safe_mode' on.
By default, PHP is configured to operate in safe mode, with functional restrictions that strengthen hosting security.
Step 5 of 5
Click on the OK button.
To learn more about PHP safe mode, refer to http://php.net/features.safe-mode.