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

From: Date: Mon, 09 Dec 2002 15:14:54 +0000
Subject: #20908 [Opn->Bgs]: PHP include/require changed: does not properly search include path
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-27187@lists.php.net to get a copy of this message
ID: 20908 Updated by: chregu@php.net Reported By: WPinegar@healthtech.net -Status: Open +Status: Bogus Bug Type: Scripting Engine problem Operating System: Windows 2000 Server PHP Version: 4CVS-2002-12-09 (dev) New Comment: Looks like it was broken before and does behave correctly now... Previous Comments: ------------------------------------------------------------------------ [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 (#27187) next »