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.

SuPHP, prevent overriding PHP ini but still allow them to set options?

Discussion in 'General Discussion' started by celliott, May 10, 2009.

  1. celliott

    celliott Well-Known Member

    Joined:
    Jan 2, 2006
    Messages:
    460
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    United Kingdom
    Hi

    On a server running with SuPHP we want to stop people from setting their own crazy values for memory/upload limits. This is easily done through /opt/suphp/etc/suphp.conf

    However certain users need to be able to use things like register_globals. This needs to be specified in php.ini in their directory, but after doing the above what they add in their own php.ini has no effect.

    What is the workaround for this?

    Basically I dont want them to be able to modify some of the main parts of the PHP configuration e.g. memory_limit but they need to be able to add in some parts which used to be used in .htaccess

    Thanks
     
  2. nitro777

    nitro777 Registered

    Joined:
    Apr 6, 2008
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
  3. Kurieuo

    Kurieuo Well-Known Member

    Joined:
    Dec 13, 2002
    Messages:
    98
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Australia
    Your reply in that thread is very well. But then how would users be able to setup their own register_global variables in their own php.ini? I don't believe they can. It is an all or nothing situation.
     
Loading...

Share This Page