Bug #16430: phpinfo displaying wrong default include_path
| From: | vejrum at doek dot dk | Date: | Thu, 04 Apr 2002 17:06:31 +0000 |
| Subject: | Bug #16430: phpinfo displaying wrong default include_path | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-4051@lists.php.net to get a copy of this message | ||
From: vejrum@doek.dk
Operating system: Linux (Cobalt RaQ3)
PHP version: 4.1.2
PHP Bug Type: PHP options/info functions
Bug description: phpinfo displaying wrong default include_path
Given a "php.ini" file with:
include_path = ; UNIX:"/path1:/path2" Windows:"\path1;\path2"
"phpinfo();" reports:
include_path = .:/usr/local/lib/php
"require_once 'DB.php';" fails:
Fatal error: Failed opening required 'DB.php' (include_path='') in ... on
line ...
I believe that the "include_path" should just default to "." according to
the PHP documentation. So "phpinfo()" seems to report a wrong default
"include_path".
(Everything works just fine when the "php.ini" "include_path" is actually
set to ".:/usr/local/lib/php".)
--
Edit bug report at http://bugs.php.net/?id=16430&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=16430&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=16430&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=16430&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=16430&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16430&r=support
Expected behavior: http://bugs.php.net/fix.php?id=16430&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16430&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16430&r=submittedtwice