php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15865 default PHP_INCLUDE_PATHset to "c:\\php4\\pear"
Submitted: 2002-03-04 21:19 UTC Modified: 2002-03-13 20:46 UTC
From: enricod at videotron dot ca Assigned:
Status: Closed Package: PHP options/info functions
PHP Version: 4.1.2 OS: Windows XP
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: enricod at videotron dot ca
New email:
PHP Version: OS:

 

 [2002-03-04 21:19 UTC] enricod at videotron dot ca
in the file php-4.1.2/main/config.w32.h there is the
following definition :

#define PHP_INCLUDE_PATH	"c:\\php4\\pear"

in the php-4.1.1 tree it was :

#define PHP_INCLUDE_PATH        NULL

sometimes this causes the include() function not to work,
complaining that it didnt find the included file in C:\php4\pear. I reverted back to NULL an the errors are gone.

ciao,
Enrico

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-03-13 20:46 UTC] sniper@php.net
Fixed in CVS and fix will be in PHP 4.2.0.

 [2004-01-23 10:52 UTC] pjolin at e-c dot qc dot ca
As of PHP 4.3.1 and up (still true in 4.3.4), this is still an issue. 

Sometimes (apparently randomly) the include_path will still default out to C:\php4\pear.

Note that no matter if the default is null or C:\php4\pear, the problem's core is still present -- occasionnally, PHP just ignores the include_path setting and defaults out to (something), which basically breaks any application that relies on include paths.
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Tue Nov 24 08:01:23 2020 UTC