#20908 [Bgs->Csd]: PHP include/require changed: does not properly search include path

From: Date: Mon, 09 Dec 2002 15:36:57 +0000
Subject: #20908 [Bgs->Csd]: PHP include/require changed: does not properly search include path
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-27194@lists.php.net to get a copy of this message
ID: 20908 User updated by: WPinegar@healthtech.net Reported By: WPinegar@healthtech.net -Status: Bogus +Status: Closed Bug Type: Scripting Engine problem Operating System: Windows 2000 Server PHP Version: 4CVS-2002-12-09 (dev) New Comment: Thanks! Previous Comments: ------------------------------------------------------------------------ [2002-12-09 09:14:54] chregu@php.net Looks like it was broken before and does behave correctly now... ------------------------------------------------------------------------ [2002-12-09 08:55:16] WPinegar@healthtech.net My PHP.INI file contains the following include_path: include_path = ".;C:\Inetpub\php_include;C:\Inetpub\pear;C:\Inetpub\wwwroot" In a PHP application I usually included the following directive: require ("/admin/class.overlib/class.overlib.php3"); In PHP 4.2.3 it would pickup the file (it's located in C:\Inetpub\wwwroot\admin\class.overlib). However the current version of PHP 4.3.0-dev cannot locate the file unless I change the require directive to the following: require ("admin/class.overlib/class.overlib.php3"); Was this change made on purpose or is this feature now broken? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20908&edit=1

« previous php.bugs (#27194) next »