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!

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:
    68
    Location:
    United States
    cPanel Access Level:
    Root Administrator
    What setting do I use? This is a shared hosting server for clients.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,608
    Likes Received:
    32
    Trophy Points:
    238
    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!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. rlshosting

    rlshosting Well-Known Member

    Joined:
    Apr 23, 2009
    Messages:
    170
    Likes Received:
    1
    Trophy Points:
    68
    Location:
    United States
    cPanel Access Level:
    Root Administrator
    Ya. That's what I mean. Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    689
    Likes Received:
    14
    Trophy Points:
    68
    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:

     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
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