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:
vi /etc/php.ini
- Go to the line
safe_mode = on
and press the "i" key. - Change the line to
safe_mode = off
and press the "Esc" key. - Type
: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 = on
tosafe_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.