Bug #15144: Master includes being over ridden by a local include that does not exist..

From: Date: Mon, 21 Jan 2002 14:48:16 +0000
Subject: Bug #15144: Master includes being over ridden by a local include that does not exist..
Groups: php.dev 
Request: Send a blank email to php-dev+get-77685@lists.php.net to get a copy of this message
From: excalibur@hub.org Operating system: FreeBSD 4.4 STABLE PHP version: 4.1.1 PHP Bug Type: PHP options/info functions Bug description: Master includes being over ridden by a local include that does not exist.. Hi, './configure' '--with-apxs=/usr/local/sbin/apxs' '--with-config-file-path=/usr/local/etc' '--enable-versioning' '--with-system-regex' '--disable-debug' '--enable-track-vars' '--without-gd' '--without-mysql' '--with-zlib' '--with-mcrypt=/usr/local' '--with-imap=/usr/local' '--with-pgsql=/usr/local' '--with-ldap=/usr/local' '--with-xml' '--with-expat-dir=/usr/local' '--enable-ftp' '--with-gettext=/usr/local' '--with-mcal=/usr/local' '--enable-trans-sid' '--prefix=/usr/local' 'i386--freebsd4.4' I'm running PHP 4.1.1, with the following flags: I've seen similar bugs reported, but mine is defferent enough I think that it warrented it's own posting: I have a number of scripts that do a standard include, ie. include ('includes/config.inc'); that worked fine under 4.0 - 4.0.6 with out issue. As of 4.1.0 and the current version 4.1.1 this statement no longer works. Warning: Failed opening 'includes/config.inc' for inclusion (include_path='.:/usr/local/lib/php') in /usr/local/www/horde/mailadmin/index.php on line 3 When I used phpinfo I see that a local include's path (that I never set) is defaulting to ':.::/usr/local/lib/php', when it should be defaulting to the master path that was set '/usr/local/www/phplib:/usr/local/www/horde/mailadmin:.'. now... the other issue that I have noticed... is that the ":.:" is not getting used contrary to other posts that I have seen both here in the bugs reporting system and as sub-notes on the docs... that's about all I can think of right now... -- Edit bug report at: http://bugs.php.net/?id=15144&edit=1

« previous php.dev (#77685) next »