php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #33032 Inconsistent & Incomplete Pages
Submitted: 2005-05-14 16:55 UTC Modified: 2005-05-14 19:29 UTC
From: mambazo at gmail dot com Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 5.0.4 OS: XP
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mambazo at gmail dot com
New email:
PHP Version: OS:

 

 [2005-05-14 16:55 UTC] 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-05-14 17:06 UTC] 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 17:20 UTC] 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:41 UTC] 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 19:29 UTC] tony2001@php.net
.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Sep 28 13:01:27 2024 UTC