#15865 [Com]: default PHP_INCLUDE_PATHset to "c:\\php4\\pear"
ID: 15865
Comment by: pjolin at e-c dot qc dot ca
Reported By: enricod at videotron dot ca
Status: Closed
Bug Type: PHP options/info functions
Operating System: Windows XP
PHP Version: 4.1.2
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2002-03-13 20:46:57] sniper@php.net
Fixed in CVS and fix will be in PHP 4.2.0.
------------------------------------------------------------------------
[2002-03-04 21:19:14] 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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=15865&edit=1
Thread (3 messages)