How to Disable PHP Safe Mode In CPanel

Written by sharon harp
  • Share
  • Tweet
  • Share
  • Email

PHP.ini is the settings file for the PHP server application, which runs PHP-based code on a Web server to display it for visitors to a website. "Safe Mode" is a feature in PHP that, when turned on, disables many PHP functions from being used in an effort to keep the server more secure. Turning on Safe Mode, however, can lead to bad consequences for PHP code that includes references to the disabled functions, so you may need to disable Safe Mode on your server.

Skill level:
Moderately Easy


  1. 1

    Log in to your Web server's main cPanel interface as the root or administrative user.

  2. 2

    Click "Service Configuration" in the main section of cPanel.

  3. 3

    Click "PHP Configuration Editor."

  4. 4

    Click the "Off" option for "Safe Mode."

  5. 5

    Click "Save."

Don't Miss

  • All types
  • Articles
  • Slideshows
  • Videos
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the site, you consent to the use of cookies. For more information, please see our Cookie policy.