Connecting Tech Pros Worldwide Forums | Help | Site Map

How to fix open_basedir restriction in effect... problem

seajay
Guest
 
Posts: n/a
#1: Sep 30 '05
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
Guest
 
Posts: n/a
#2: Sep 30 '05

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_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.[/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.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
Closed Thread