From: ppmm at wuxinan dot net Operating system: Windows XP PHP version: 5.0.4 PHP Bug Type: Filesystem function related Bug description: PHP_STREAM_COPY_ALL set to 2000000
Description: ------------ I noticed this is already discussed in PHP-DEV mailing list. But I want to address it here since this is critical. Many file related functions are affected in php 5.0.4 They stop reading at 2,000,000 bytes. Examples are readfile() and fpassthru(). This is due to this change: RCS file: /repository/php-src/main/php_streams.h,v retrieving revision 1.95 retrieving revision 1.95.2.1 I wouldn't recommend upgrading from 5.0.3 to 5.0.4 if you are unsure about this issue... [ref: Re: [PHP-DEV] Two minor issues in 5.0.4 Antony Dovgal Sun, 27 Mar 2005 03:56:27 -0800 ] -- Edit bug report at http://bugs.php.net/?id=32553&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32553&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=32553&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=32553&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=32553&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=32553&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=32553&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=32553&r=needscript Try newer version: http://bugs.php.net/fix.php?id=32553&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=32553&r=support Expected behavior: http://bugs.php.net/fix.php?id=32553&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=32553&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=32553&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=32553&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32553&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=32553&r=dst IIS Stability: http://bugs.php.net/fix.php?id=32553&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=32553&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=32553&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=32553&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=32553&r=mysqlcfg