#46709 [NEW]: When no include_path is set in php.ini, it defaults to ".;C:\php5\pear"
From: peaceable_whale at hotmail dot com
Operating system: Windows XP SP3
PHP version: 5.2.6
PHP Bug Type: Feature/Change Request
Bug description: When no include_path is set in php.ini, it defaults to ".;C:\php5\pear"
Description:
------------
When no include_path is set in php.ini, it defaults to ".;C:\php5\pear", a
path that may not exist. I think "." is enough.
This bug is intended to replace Bug #29085.
Reproduce code:
---------------
Install PHP with the Windows Installer and does not set an include_path
manually. Then run phpinfo().
Expected result:
----------------
include_path should be "."
Actual result:
--------------
include_path is ".;C:\php5\pear"
--
Edit bug report at http://bugs.php.net/?id=46709&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=46709&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=46709&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=46709&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=46709&r=fixedcvs
Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=46709&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=46709&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=46709&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=46709&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=46709&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=46709&r=support
Expected behavior: http://bugs.php.net/fix.php?id=46709&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=46709&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=46709&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=46709&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=46709&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=46709&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=46709&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=46709&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=46709&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=46709&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=46709&r=mysqlcfg
Thread (4 messages)
- peaceable_whale at hotmail dot com