Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:1613 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 47558 invoked from network); 16 May 2003 20:08:44 -0000 Received: from unknown (HELO henry.newn.cam.ac.uk) (131.111.204.130) by pb1.pair.com with SMTP; 16 May 2003 20:08:44 -0000 Received: from [131.111.204.180] (helo=quartz.newn.cam.ac.uk) by henry.newn.cam.ac.uk with esmtp (Exim 3.13 #1) id 19GlVT-0003fO-00 for internals@lists.php.net; Fri, 16 May 2003 21:08:43 +0100 Received: from prlw1 by quartz.newn.cam.ac.uk with local (Exim 4.14) id 19GlVT-0006cX-88 for internals@lists.php.net; Fri, 16 May 2003 21:08:43 +0100 Date: Fri, 16 May 2003 21:08:43 +0100 To: internals@lists.php.net Message-ID: <20030516210843.A24047@quartz.newn.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.19i Subject: open_basedir too strict From: prlw1@newn.cam.ac.uk (Patrick Welche) 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