open_basedir too strict

From: Date: Fri, 16 May 2003 20:08:43 +0000
Subject: open_basedir too strict
Groups: php.internals 
Request: Send a blank email to internals+get-1613@lists.php.net to get a copy of this message
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? Cheers, Patrick

« previous php.internals (#1613) next »