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 & php.ini & open_basedir

Discussion in 'General Discussion' started by rlshosting, Mar 21, 2011.

  1. rlshosting

    rlshosting Well-Known Member

    Joined:
    Apr 23, 2009
    Messages:
    170
    Likes Received:
    1
    Trophy Points:
    16
    Location:
    United States
    cPanel Access Level:
    Root Administrator
    What setting do I use? This is a shared hosting server for clients.
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Hello,

    Are you asking what path to put into the php.ini file for open_basedir protection? So something like the following:

    Code:
    open_basedir = /home/:/usr/lib/php:/usr/local/lib/php:/tmp
    If this is not what you are asking, please clarify with further details on what is needed.

    Thanks!
     
  3. rlshosting

    rlshosting Well-Known Member

    Joined:
    Apr 23, 2009
    Messages:
    170
    Likes Received:
    1
    Trophy Points:
    16
    Location:
    United States
    cPanel Access Level:
    Root Administrator
    Ya. That's what I mean. Thank you.
     
  4. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    624
    Likes Received:
    6
    Trophy Points:
    18
    Please what is the secure setting when using wordpress blog and phpbb forum on hosting account,

    isnt
    Code:
    open_basedir = /home/:/usr/lib/php:/usr/local/lib/php:/tmp
    risky and too general?

    When i add this line into php.ini my security audit script still says:

     
Loading...

Share This Page