From: [EMAIL PROTECTED] Operating system: Windows 2000 PHP version: 4.1.2 PHP Bug Type: *Configuration Issues Bug description: include_path does NOT default to .
Hi, Just drove my self crazy upgrading to the latest build for win32 4.1.2, as an apache module Granted I'm not very confident as to how this *should* work, I think I found a minor bug/inconsistency. If you do not set include_path it defaults to C:\php4\pear (or was it c:\php4\includes\pear ) I believe based upon reading this, " include_path string Specifies a list of directories where the require(), include() and fopen_with_path() functions look for files. The format is like the system's PATH environment variable: a list of directories separated with a colon in UNIX or semicolon in Windows. Example 3-3. UNIX include_path include_path=.:/home/httpd/php-lib Example 3-4. Windows include_path include_path=".;c:\www\phplib" <b>The default value for this directive is . (only the current directory)</b>. " So... I'm guessing it should default to "." instead of C:\php4\pear (or whatever) ... All of the includes on my site went bunk right after I upgraded... setting include_path = "." rectified this for me. If this is obvious, and the intended effect, I apoligize in advance for my erroroneous bug report. Erik -- Edit bug report at http://bugs.php.net/?id=16047&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=16047&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=16047&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=16047&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=16047&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=16047&r=support Expected behavior: http://bugs.php.net/fix.php?id=16047&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=16047&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=16047&r=submittedtwice