#21079 [Opn->Fbk]: Output buffering via ob_gzhandler fails for large pages

From: Date: Wed, 18 Dec 2002 17:11:11 +0000
Subject: #21079 [Opn->Fbk]: Output buffering via ob_gzhandler fails for large pages
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-27975@lists.php.net to get a copy of this message
 ID:               21079
 Updated by:       moriyoshi@php.net
 Reported By:      nijel@users.sourceforge.net
-Status:           Open
+Status:           Feedback
 Bug Type:         Output Control
 Operating System: Linux
 PHP Version:      4.2.1
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip




Previous Comments:
------------------------------------------------------------------------

[2002-12-18 10:54:05] nijel@users.sourceforge.net

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 this bug report at http://bugs.php.net/?id=21079&edit=1



Thread (19 messages)

« previous php.bugs (#27975) next »