This article applies to Webfusion servers running Plesk.
This article will explain how you can disable PHP safe mode on a Webfusion 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 these steps:
Please select the version of Plesk you are using below.
To learn more about PHP safe mode, refer to http://php.net/features.safe-mode.