Re: open_basedir too strict

From: Date: Fri, 16 May 2003 20:10:24 +0000
Subject: Re: open_basedir too strict
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-1614@lists.php.net to get a copy of this message
On Fri, 16 May 2003, Patrick Welche wrote: > This may be a user error rather than an internals.. In php.ini I have > > safe_mode = Off > ;open_basedir = > ;include_path = ".:/php/includes" > > among other things, yet with cvs PHP_4_3 code from May 16 13:48, I get: > > [client 127.0.0.1] PHP Warning: main(): open_basedir restriction in effect. > File(../functions/strings.php) is not within the allowed path(s): (.:/usr/local/lib/php) in > /usr/src/local/squirrelmail/src/login.php on line 19 > > > I just made main/fopen_wrappers.c:php_check_open_basedir() return 0 always > to get around it.. > I was under the impression that with open_basedir commented out, it would > be NULL and therefore not "be in effect", otherwise how could you turn it > off? That's correct. You must be turning it one somewhere else. Either in another ini file or somewhere in your apache .conf files. -Rasmus

« previous php.internals (#1614) next »