#46709 [Opn]: When no include_path is set in php.ini, it defaults to ".;C:\php5\pear"
| From: | peaceable_whale at hotmail dot com | Date: | Sun, 07 Dec 2008 04:50:55 +0000 |
| Subject: | #46709 [Opn]: When no include_path is set in php.ini, it defaults to ".;C:\php5\pear" | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-131704@lists.php.net to get a copy of this message | ||
ID: 46709
User updated by: peaceable_whale at hotmail dot com
Reported By: peaceable_whale at hotmail dot com
Status: Open
Bug Type: Feature/Change Request
Operating System: Windows
-PHP Version: 5.2.6
+PHP Version: 5.2.7
New Comment:
Affecting PHP 5.2.7.
Previous Comments:
------------------------------------------------------------------------
[2008-11-28 14:49:35] peaceable_whale at hotmail dot com
Correction: Corrected OS to "Windows"
------------------------------------------------------------------------
[2008-11-28 14:48:18] peaceable_whale at hotmail dot com
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 this bug report at http://bugs.php.net/?id=46709&edit=1