The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    204
    Likes Received:
    0
    Trophy Points:
    16
    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:
    16
    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:
    204
    Likes Received:
    0
    Trophy Points:
    16
    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