From: Operating system: Linux 2.6.36.1 PHP version: 5.2.15 Package: Streams related Bug Type: Bug Bug description:open_basedir BUG introduced in PHP 5.2.15
Description: ------------ Just look at: http://svn.php.net/viewvc/php/php-src/branches/PHP_5_2/main/fopen_wrappers.c?r1=303823&r2=306136 and http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/main/fopen_wrappers.c?r1=305507&r2=305698 '-1' is missing in 5_2 branch Test script: --------------- Not needed - just enable open_basedir. Expected result: ---------------- Working php script. Actual result: -------------- Open_basedir restriction... -- Edit bug report at http://bugs.php.net/bug.php?id=53516&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=53516&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=53516&r=trysnapshot53 Try a snapshot (trunk): http://bugs.php.net/fix.php?id=53516&r=trysnapshottrunk Fixed in SVN: http://bugs.php.net/fix.php?id=53516&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=53516&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=53516&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=53516&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=53516&r=needscript Try newer version: http://bugs.php.net/fix.php?id=53516&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=53516&r=support Expected behavior: http://bugs.php.net/fix.php?id=53516&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=53516&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=53516&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=53516&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=53516&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=53516&r=dst IIS Stability: http://bugs.php.net/fix.php?id=53516&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=53516&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=53516&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=53516&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=53516&r=mysqlcfg