#19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory

From: Date: Mon, 14 Oct 2002 23:41:36 +0000
Subject: #19292 [Com]: random error: open_basedir restriction in effect. File is in wrong directory
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-22406@lists.php.net to get a copy of this message
 ID:               19292
 Comment by:       bin@entertainz.co.nz
 Reported By:      tnowak@triger.com.pl
 Status:           Critical
 Bug Type:         Apache related
 Operating System: linux
 PHP Version:      4.3.0-dev,4.2.3
 New Comment:

hank@marinar.com: I'm using the full path name as the argument for
open_basedir and still experiencing this issue with 4.2.3...


Previous Comments:
------------------------------------------------------------------------

[2002-10-14 14:31:28] hank@marinar.com

Upgraded to 4.2.3, and found a way to produce the problem and my fix. 
In the <VirtualHost>, if I use the following statement I get the
error:

php_admin_value open_basedir $DOCUMENT_ROOT

However, if I specify a path instead of the variable, it works just
fine:

php_admin_value open_basedir /home/netgram/public_html

It would still be very nice to use a variable instead of retyping
information.  Hope this helps!

------------------------------------------------------------------------

[2002-10-14 00:44:10] bin@entertainz.co.nz

Experiencing the same issue with 4.2.3 on Linux with Apache 1.3.26 and
Ben-SSL 1.48.

------------------------------------------------------------------------

[2002-10-12 08:51:30] dookfx@firemail.de

i habve the same problems also with 4.30.pre1!

------------------------------------------------------------------------

[2002-10-12 02:24:17] sniper@php.net

update version info.


------------------------------------------------------------------------

[2002-10-11 23:48:57] hank@marinar.com

I notice the same problem with an earlier version (4.1.2-5) on a Debian
3.0 system running Apache 1.3.26.  Hope that provides aid in tracking
this down.

The script used to reproduce this is simply phpinfo();

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/19292

-- 
Edit this bug report at http://bugs.php.net/?id=19292&edit=1



Thread (107 messages)

« previous php.bugs (#22406) next »