Frequently Asked Questions

Help Center Search

Can I turn off PHP safemode on my Windows virtual dedicated server?

Print this Article
Comment on this Article
Last Updated: August 16, 2007 12:13 PM

By default, Plesk sets PHP to "safemode" during installation. To take PHP out of "safemode," you need to connect to your virtual dedicated server and modify your php.ini file.

To Turn off PHP "safemode" in Windows

  1. Using Remote Desktop Connection, log in to your server as an administrator.
  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 use Plesk to restart your Web server by selecting stop/start under the Server, Service Management section.