Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Disable Safe_mode in user cpanel account

Discussion in 'General Discussion' started by activa, Sep 7, 2010.

  1. activa

    activa Well-Known Member

    Joined:
    May 23, 2006
    Messages:
    211
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Morocco
    cPanel Access Level:
    Root Administrator
    Hello ,

    there are any tips or hack or script that let the users choose to disable/enable safe_mode in thier cpanel ?
     
  2. konrath

    konrath Well-Known Member

    Joined:
    May 3, 2005
    Messages:
    367
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Brasil
    Hello

    If your server run php in DSO mode then put this line in the file .htaccess and upload to public_html :)

    php_flag safe_mode off
    or
    php_flag safe_mode on

    You can turn off/on the register_globals too

    php_flag register_globals off
    php_flag register_globals on


    Konrath
     
    #2 konrath, Sep 7, 2010
    Last edited: Sep 7, 2010
  3. activa

    activa Well-Known Member

    Joined:
    May 23, 2006
    Messages:
    211
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Morocco
    cPanel Access Level:
    Root Administrator
    Thanks Konrath , i know this methode , but i want a tip to let the users enable/disable safe mode from cpanel interface ?

    also i'm using now VHOST includes for sites that i want to make some custom php settings .
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice