From: [EMAIL PROTECTED]
Operating system: Linux
PHP version: 4.2.1
PHP Bug Type: Output Control
Bug description: Output buffering via ob_gzhandler fails for large pages
Output buffering via ob_gzhandler fails for large pages (more than 4188160
= 1024 * 4090 chars for me). The resulting output is empty (just headers
are sent but no content) - no warning about exceeding limits or anything
else.
To test it I used following code, when I commented out + 1 it worked.
<?
ob_start('ob_gzhandler');
for ($i=0; $i< (1024 * 4090) + 1; $i++) echo '.';
?>
My configuration:
in php.ini I have:
max_execution_time = 30
memory_limit = 8M
PHP 4.2.1
Apache 1.3.26
Same error (probably) reported by someone with PHP 4.2.2 and Apache
2.0.40, see phpMyAdmin bugreport:
http://sourceforge.net/tracker/index.php?func=detail&aid=650481&group_id=23067&atid=377408
--
Edit bug report at http://bugs.php.net/?id=21079&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=21079&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=21079&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=21079&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=21079&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=21079&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=21079&r=support
Expected behavior: http://bugs.php.net/fix.php?id=21079&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=21079&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=21079&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=21079&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21079&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=21079&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=21079&r=isapi