Can I turn off PHP safemode on my Linux dedicated server?
By default, Plesk sets PHP to "safemode" during installation. To take PHP out of safemode, you need to remote connect to your dedicated server and modify the php.ini file on the server.
To Turn off PHP "safemode" on Your Linux Dedicated 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. - Type 
:wq!to save your file. 
Once you have edited the file, you need to restart your Web server. You can restart your Web server using Plesk by selecting stop/start under the Server, Service Management section.




