#48775 [NEW]: php-5.2.10 treats include_path as url/hostname
| From: | alexander at sulfrian dot net | Date: | Thu, 02 Jul 2009 13:22:13 +0000 |
| Subject: | #48775 [NEW]: php-5.2.10 treats include_path as url/hostname | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-139144@lists.php.net to get a copy of this message | ||
From: alexander at sulfrian dot net
Operating system: Linux
PHP version: 5.2.10
PHP Bug Type: Streams related
Bug description: php-5.2.10 treats include_path as url/hostname
Description:
------------
Hi,
I updated recently to php-5.2.10 and some scripts are not working anymore.
The scripts added some elements to the include_path. While including some
files from the include_path php echos the error that it cannot resolve the
host name. I think that this error is caused by the change, that stream
wrappers could be used in the include path and the PATH_SEPERATOR and the
stream wrappers collidate.
Downgrading to php-5.2.9-r2 solves the problem again.
Actual result:
--------------
[02-Jul-2009 13:21:47] PHP Warning: require() [<a
href='function.require'>function.require</a>]: Couldn't resolve host name
in <file> on line <line>
[02-Jul-2009 13:21:47] PHP Warning: require(rcube_user.php) [<a
href='function.require'>function.require</a>]: failed to open stream:
operation failed in <file> on line <line>
--
Edit bug report at http://bugs.php.net/?id=48775&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=48775&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=48775&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=48775&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=48775&r=fixedcvs
Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=48775&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=48775&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=48775&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=48775&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=48775&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=48775&r=support
Expected behavior: http://bugs.php.net/fix.php?id=48775&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=48775&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=48775&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=48775&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=48775&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=48775&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=48775&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=48775&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=48775&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=48775&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=48775&r=mysqlcfg