How to fix open_basedir restriction in effect... problem

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

    How to fix open_basedir restriction in effect... problem

    Hello,

    I've been searching on the internet for some time now and I was not
    able to find a solution to this problem.

    under apache httpd.conf file I have the following setting
    php_admin_value open_basedir
    "/home/httpd/vhosts/domain.com/httpdocs:/tmp"

    I understand that open_basedir will display an error when the file I am
    trying to deal with is outside the directory set, however that's not
    the case all my php files reside under
    /home/httpd/vhosts/domain.com/httpdocs and I am still getting this
    error.

    Can you please advise on how to recover from this problem.

    Thanks in advance.

  • Andy Hassall

    #2
    Re: How to fix open_basedir restriction in effect... problem

    On 30 Sep 2005 08:33:31 -0700, "seajay" <seajay@teckies .com> wrote:
    [color=blue]
    >I've been searching on the internet for some time now and I was not
    >able to find a solution to this problem.
    >
    >under apache httpd.conf file I have the following setting
    >php_admin_valu e open_basedir
    >"/home/httpd/vhosts/domain.com/httpdocs:/tmp"
    >
    >I understand that open_basedir will display an error when the file I am
    >trying to deal with is outside the directory set, however that's not
    >the case all my php files reside under
    >/home/httpd/vhosts/domain.com/httpdocs and I am still getting this
    >error.
    >
    >Can you please advise on how to recover from this problem.[/color]

    Can you post a _minimal_ piece of PHP code that shows the problem you are
    having? What's the error message? (I don't recall if the open_basedir error
    message includes the path that it denied access to or not)
    --
    Andy Hassall :: andy@andyh.co.u k :: http://www.andyh.co.uk
    http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool

    Comment

    Working...