open_basedir restrictions are set to off in php.ini yet I still get the warnings

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • lawrence k

    open_basedir restrictions are set to off in php.ini yet I still get the warnings

    What is this about? If I ssh to my server and look at php.ini I see
    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 =


    but on the site I'm getting this error:

    Warning: main(): open_basedir restriction in effect. File(/home/httpd/
    vhosts/monkeyclaus.org/httpdocs/media/audio/site_specific_f iles/
    config.php) is not within the allowed path(s): (/home/httpd/vhosts/
    monkeyclaus.org/httpsdocs:/tmp) in /home/httpd/vhosts/monkeyclaus.org/
    httpsdocs/store.php on line 1


    what is up?

  • Rik

    #2
    Re: open_basedir restrictions are set to off in php.ini yet I still get the warnings

    lawrence k <lkrubner@geoci ties.comwrote:
    What is this about? If I ssh to my server and look at php.ini I see
    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.
    So, is it perhaps set in httpd.conf or another included configuration file
    of the web server? And what does phpinfo() tell you (be sure you're
    looking at the right php.ini..)

    --
    Rik Wasmus
    Posted on Usenet, not any forum you might see this in.
    Ask Smart Questions: http://tinyurl.com/anel

    Comment

    Working...