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!

How can I set open_basedir = serverwide in php.ini?

Discussion in 'General Discussion' started by BianchiDude, May 16, 2006.

  1. BianchiDude

    BianchiDude Well-Known Member
    PartnerNOC

    Joined:
    Jul 2, 2005
    Messages:
    619
    Likes Received:
    0
    Trophy Points:
    166
    How can I set open_basedir = serverwide in php.ini?

    I want to limit users to be able to open in there root directory and below only.
     
  2. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    166
    Can you not just apply this through WHM?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. ramprage

    ramprage Well-Known Member

    Joined:
    Jul 21, 2002
    Messages:
    655
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Canada
    PHP 4.4.2 has an exploit in the wild where open_base doesn't lock the user even if open_base is enabled FYI.

    Tweak Security, Open_base Protection. Check to enable it.
     
    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