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?
Synchronizing Your Server's Passwords
Setting up DNS with Your Parallels Plesk Panel 9 Server and Domain with Us
How do I install software on my Windows dedicated server?