Turning off PHP Safe Mode on Your 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 php.ini file on the server.
To Turn Off PHP Safe Mode on Your Linux Server
- Using SSH, connect to your server.
- Once you are logged in, type
su - root.
- For your password, type the same password you used to connect to your server.
- At the command prompt type:
- Go to the line
safe_mode = onand press the "i" key.
- Change the line to
safe_mode = offand press the "Esc" key.
:wq!to save your file.
To Turn Off PHP Safe Mode on Your Windows Server
- Using Remote Desktop Connection, log in to your server as an administrator.
- Open c:\windowsphp.ini in Notepad.
- Change the line
safe_mode = onto
safe_mode = off.
- 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.
What can I install on my dedicated server?
Which control panels can I install on my server?
Do you restrict what content I can keep on my server?
Partitioning a Windows Dedicated Server's Second Hard Drives
How Long Does it Take to Set Up My Dedicated Server?
Adding IP Addresses to Your Windows 2008 Server (Loopback)
Your message was successfully sent.