#33032 [Opn->Bgs]: Inconsistent & Incomplete Pages
| From: | tony2001@php.net | Date: | Sat, 14 May 2005 17:29:28 +0000 |
| Subject: | #33032 [Opn->Bgs]: Inconsistent & Incomplete Pages | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-79008@lists.php.net to get a copy of this message | ||
ID: 33032
Updated by: tony2001@php.net
Reported By: mambazo at gmail dot com
-Status: Open
+Status: Bogus
Bug Type: Unknown/Other Function
Operating System: XP
PHP Version: 5.0.4
New Comment:
.
Previous Comments:
------------------------------------------------------------------------
[2005-05-14 17:41:38] mambazo at gmail dot com
Update:
ISSUE RESOLVED!
I searched all the web for a solution to this problem, and found none.
I searched the bug forum on php.net, and found none.
Solution:
So for all of you who had the same problem finding the solution to
this, here is the solution:-
In php.ini there is a setting that limits the output file buffering.
With the unaltered php.ini-reccommended file, it is set
output_buffering = 4096.
Set this to:-
output_buffering = On
------------------------------------------------------------------------
[2005-05-14 17:20:49] mambazo at gmail dot com
Update:
The previous update is not valid. Discard it. The problem still
occurs.
URL to the problem:
http://www.langfordtavern.com/phpinfo.php
------------------------------------------------------------------------
[2005-05-14 17:06:19] mambazo at gmail dot com
Update:
Just noticed that if I a run browser on the machine using PHP 5.0.4,
and get it to locally run a php website or the phpinfo(); function, it
correctly works consistently, but if I access the same pages remotely,
the problem occurs.
The problem is not resolved this way for the server running PHP 5.0.1
------------------------------------------------------------------------
[2005-05-14 16:55:14] mambazo at gmail dot com
Description:
------------
The Problem:
Large pages do not fully load. Sometimes half a page will load,
sometimes 1 line, and very rarely does a whole page load. Even
phpinfo(); gets cut off and garbled.
Random contents from other files are sometimes scattered throughout the
pages.
My Setup:
I have two machines encountering the same problem.
Windows XP
Apache 2.0.50
PHP 5.0.4 (and PHP 5.0.1 on the other machine)
Reproduce code:
---------------
<?php phpinfo(); ?>
Expected result:
----------------
The full PHP info, including the licence at the end. With no random
garbage.
Actual result:
--------------
A partial phpinfo output, sometimes with random contents from other
files in htdocs
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=33032&edit=1