open_basedir restriction in effect...

Discussion in 'Apache' started by Whitey, Mar 19, 2009.

  1. #1
    Hey.

    In my PHP.ini file I have this:
    ; open_basedir, if set, limits all file operations to the defined directory
    ; and below.  This directive makes most sense if used in a per-directory
    ; or per-virtualhost web server configuration file. This directive is
    ; *NOT* affected by whether Safe Mode is turned On or Off.
    ;open_basedir =
    Code (markup):
    (It is commented out) and I have Safe Mode off.

    I want everything in the "/home/admin" directory and sub-directories to not be affected by this restriction, as atm I get this error:
    Warning:  file_exists() [[URL="http://scrubsonline.org/status2k/function.file-exists"]function.file-exists[/URL]]: open_basedir restriction in effect.
    
    Code (markup):
    Can someone please tell me the settings I need to use for this? Thanks.
     
    Whitey, Mar 19, 2009 IP
  2. jancat

    jancat Peon

    Messages:
    18
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    which CP are you using.
     
    jancat, Mar 24, 2009 IP
  3. kailash

    kailash Well-Known Member

    Messages:
    1,248
    Likes Received:
    42
    Best Answers:
    0
    Trophy Points:
    190
    #3
    This option varies depending on the control panel you use.

    Kailash
     
    kailash, Apr 1, 2009 IP