GoDaddy Support

Turning off PHP Safe Mode on Your Server

Date Submitted: 5-12-2010

By default, Parallels Plesk Panel sets PHP to "safe mode" during installation. To take PHP out of "safe mode," you need to remote connect to your dedicated server and modify the php.ini file on the server.

To Turn Off PHP Safe Mode on Your Linux Server

  1. Using SSH, connect to your server.
  2. Once you are logged in, type su - root.
  3. For your password, type the same password you used to connect to your server.
  4. At the command prompt type:
    vi /etc/php.ini
  5. Go to the line safe_mode = on and press the "i" key.
  6. Change the line to safe_mode = off and press the "Esc" key.
  7. Type :wq! to save your file.

To Turn Off PHP Safe Mode on Your Windows Server

  1. Using Remote Desktop Connection, log in to your server as an administrator.
  2. Open c:\windowsphp.ini in Notepad.
  3. Change the line safe_mode = on to safe_mode = off.
  4. Save and close php.ini.

Once you have edited the file, you need to restart your Web server. You can restart your Web server using Parallels Plesk Panel by selecting stop/start under the Server > Service Management section.

Rate This Article:
Related Topics:

NEED HELP? Call our award-winning support team 24/7 at (480) 505-8877
Submit

United States - English
Traffic Log Image