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!

enable open_basedir for one user

Discussion in 'General Discussion' started by asmithjr, Nov 26, 2007.

  1. asmithjr

    asmithjr Well-Known Member

    Joined:
    Jun 13, 2003
    Messages:
    510
    Likes Received:
    5
    Trophy Points:
    168
    Runing

    WHM 11.11.0 cPanel 11.15.0-C17981
    REDHAT Enterprise 4 i686 on standard - WHM X v3.1.0

    I have Enable php open_basedir Protection checked and have 2 users that need to share files in their images folder (actually one shares the other reads)

    I checked both users Exclude Protection (even tried with just one or the other)

    I cannot seem to get this to work. I even tried turning off the Enable php open_basedir Protection (unchecking)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Michel McA

    Michel McA Member
    PartnerNOC

    Joined:
    Sep 1, 2007
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    51
    Make sure you are altering the right php.ini file

    php-i|grep php.ini

    Also make sure the /usr/local/apache/conf/httpd.conf has been edited

    <VirtualHost ip address/ and or account you wish to edit here.>
    .......
    .......
    <IfModule mod_php4.c>
    php_admin_value open_basedir "arguement"
    </IfModule>
    <IfModule mod_php5.c>
    php_admin_value open_basedir "arguement"
    </IfModule>
    ........
    </VirtualHost>
     
  3. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,566
    Likes Received:
    43
    Trophy Points:
    308
    cPanel Access Level:
    Root Administrator
    First - what is your cPanel version?

    Second - how are the users attempting to access the files? Are they using include, open, what?

    Third - what errors are the users receiving when attempting to access the files?

    Fourth - did you verify the open_basedir directives were removed from their respective VirtualHost entries?
     
    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