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!

php_admin_value open_basedir

Discussion in 'General Discussion' started by blackhorse, Jan 5, 2009.

  1. blackhorse

    blackhorse Registered

    Jan 5, 2009
    Likes Received:
    Trophy Points:
    In whm, security center has the way to set up the php_admin_value open_basedir.

    But on the shared hosting either reseller package or just shared account, whm security center is not available.

    So for the shared hosting sites managed by cpanel. Are there anyways to set up php_admin_value open_basedir? Such as using .htaccess?

    The reason I want set it up is to limit the script of one site only can access the files within its own document_root, plus the /tmp etc, so it cannot access files of other sites, or the files outside the document_root.

    Without php_admin_value open_basedir set up, in the shared hosting, the script of one site can access other sites or even system files of that account user.

    Any advices?
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Nov 29, 2006
    Likes Received:
    Trophy Points:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Are you asking how you can do this with only having access to the cPanel interface, and no access to the WHM interface?

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