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.

user local php.ini

Discussion in 'General Discussion' started by lukaschemp, Oct 22, 2007.

  1. lukaschemp

    lukaschemp Active Member

    Joined:
    Nov 6, 2006
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    How to make that user can use his own php.ini in /home/user/public_html?
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    I believe if you enable SuPHP that users can create their own php.ini.
     
  3. lukaschemp

    lukaschemp Active Member

    Joined:
    Nov 6, 2006
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    php suexec works the same like suphp?
     
  4. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Yep, it's pretty much a drop-in replacement, though SuPHP is what we're using now in place of phpSuExec.
     
    #4 cPanelDavidG, Oct 23, 2007
    Last edited: Oct 23, 2007
  5. bman

    bman Well-Known Member

    Joined:
    Dec 28, 2003
    Messages:
    119
    Likes Received:
    0
    Trophy Points:
    16
    can the user enable disabled functions which i have disabled in the main php.ini by using his own php.ini ?
    also whats the security risk by allowing the user to have his own php.ini ?
     
  6. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Yes

    The user php.ini file takes priority over the system php.ini

    Anything that can be enabled/disabled via php.ini can be done in a user's php.ini file.
     
Loading...

Share This Page