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.

open_basedir restriction in effect.

Discussion in 'General Discussion' started by Guda, Jun 17, 2008.

  1. Guda

    Guda Member
    PartnerNOC

    Joined:
    Aug 16, 2001
    Messages:
    20
    Likes Received:
    1
    Trophy Points:
    1
    Error:

    Warning: Unknown: open_basedir restriction in effect. File(/home/user/public_html/index.php) is not within the allowed path(s): (/usr/local/lp:/proc:/usr/lib/php:/usr/local/lib/php:/tmp) in Unknown on line 0


    open_basedir is disabled via WHM for ALL domains, no directives exist in httpd.conf, user is accessing site via:

    http://ip.addy.goes.here/~username

    Error persists...
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,482
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Not exactly an error. If you want him to be able to access his site this way exclude protection in Security Center > PHP open_basedir Protection
     
  3. Guda

    Guda Member
    PartnerNOC

    Joined:
    Aug 16, 2001
    Messages:
    20
    Likes Received:
    1
    Trophy Points:
    1
    thats been done... its been totally disabled..

    there is no instance of open_basedir in httpd.conf...
     
  4. markfrompf

    markfrompf Well-Known Member

    Joined:
    Mar 27, 2006
    Messages:
    176
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Los Angeles, CA
    I don't see anything in Bugzilla about this.

    You're sure the correct httpd.conf file is being read, right?
     
  5. Guda

    Guda Member
    PartnerNOC

    Joined:
    Aug 16, 2001
    Messages:
    20
    Likes Received:
    1
    Trophy Points:
    1
    um.. /usr/local/apache/conf/httpd.conf ?

    is there another one?
     
  6. jrehmer

    jrehmer Well-Known Member

    Joined:
    Apr 10, 2003
    Messages:
    287
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Denver, CO
    Has Apache been manually restarted? Maybe WHM isn't calling the init script properly so the restart of Apache may be failing. Also check for any .htaccess files which may turn on open_basedir within the user's public_html folder.
     
Loading...

Share This Page