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.
seajay [ Fr, 30 September 2005 17:33 ] [ ID #991980 ]

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

On 30 Sep 2005 08:33:31 -0700, "seajay" <seajay [at] teckies.com> wrote:

>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.

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 [at] andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
Andy Hassall [ Fr, 30 September 2005 21:44 ] [ ID #991991 ]
PHP » comp.lang.php » How to fix open_basedir restriction in effect... problem

Vorheriges Thema: Submit form with variable for action?
Nächstes Thema: newbie wanting advice on search form