Home Guides Glossary

Turning off PHP Safe Mode on Your Plesk Server

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 server's PHP initialization file.

Linux Servers

To Turn Off PHP Safe Mode on Your Linux Server

  1. Connect to your server via SSH (more info).
  2. Switch to the root user (more info).
  3. Enter your server's password.
  4. Run the following command:
    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.

Windows Servers

To Turn Off PHP Safe Mode on Your Windows Server

  1. Connect to your server via Remote Desktop (more info).
  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.

Domain Registration

Pay less for website domain names. Register your own .com, .net or .org for as low as $10.18 per year. We have everything you need to get online with your new domain.

Website Builder

Build an amazing website in just under an hour with Website Builder. Take advantage of designs created just for your industry and then customize them to reflect your one-of-a-kind idea.

Website Security

Protect your website and keep customers safe. Your comprehensive Website Security solution. Get peace of mind by securing your websites.

cPanel Hosting

Everything needed to give your website the high-performance home it deserves.  Protect transactions and secure your customer's data with a SSL Certificate
Copyright © 2005 - 2024.  All rights reserved.  Privacy Policy