How to Disable PHP Safe Mode - Windows Shared

When enabled, PHP safe mode places restrictions on certain functions of scripts for security reasons; however, some scripts may require safe mode to be disabled. Windows Shared hosting customers can disable safe mode, as well as view and modify the PHP configuration for their websites, through the PHP Settings option in Plesk.

PHP safe mode can be disabled by following the steps below: 

  1. Log into the Plesk control panel.
  2. Click on the Websites & Domains tab.
    Websites & Domains
  3. In the list of domains, beneath the domain you'd like to manage, click on the downward arrow.
    downward arrow
  4. Click on the PHP Settings icon.
    PHP Settings
  5. Next to safe_mode, in the Common settings section, select off from the drop-down menu.
    safe_mode setting
The safe mode feature has been deprecated as of PHP 5.3 and removed in PHP 5.4. On Windows Shared servers, it has been replaced with open_basedir which is designed to limit a script's access to select directories.