#21707 [Fbk->Opn]: long html text sources truncated
| From: | moriyoshi@php.net | Date: | Sun, 19 Jan 2003 21:04:09 +0000 |
| Subject: | #21707 [Fbk->Opn]: long html text sources truncated | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-30588@lists.php.net to get a copy of this message | ||
ID: 21707
Updated by: moriyoshi@php.net
Reported By: jtwolf@hotmail.com
-Status: Feedback
+Status: Open
Bug Type: Output Control
Operating System: windows xp
PHP Version: 4.3.0
New Comment:
Oops, my previous comment is totally off the point. Please ignore.
Previous Comments:
------------------------------------------------------------------------
[2003-01-19 12:43:15] moriyoshi@php.net
Which MPM model do you use in Apache2? (e.g. worker, prefork)
I managed to reproduce this with "worker" model.
------------------------------------------------------------------------
[2003-01-19 11:40:38] bouke@boukemedia.nl
i'm having the same problems, but i'm running php as an module instead
of cgi module.
Apache 2.0.43 on winXP
PHP 4.2.4-dev
Setting output_buffering to On fixed this bug.
------------------------------------------------------------------------
[2003-01-17 01:22:45] jtwolf@hotmail.com
For example:
174412 Chars --> 7957 Chars
82828 Chars --> 23906 Chars
not consistent, running the 82828 char file a second time gave me 43596
chars
------------------------------------------------------------------------
[2003-01-17 00:51:16] philip@php.net
Truncated to how many characters and is it a consistent number?
------------------------------------------------------------------------
[2003-01-17 00:43:36] jtwolf@hotmail.com
Apache 2.0.43 running on Windows XP. Reproduced with PHP 4.3.0 running
as CGI and as module.
present with output_buffering = off
not present with output_buffering = on
A 10kb(approximately) or larger html/text file with a .php extension is
truncated if output buffering is set to off. Turn output buffering on
and the entire file is sent/displayed properly
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21707&edit=1