LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > External Applications > PHP > defeat buffered output in PHP for realtime display?

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 05-02-2008, 08:10 AM
aww aww is offline
Senior Member
 
Join Date: May 2007
Posts: 237
Question defeat buffered output in PHP for realtime display?

Some of the tricks I try to use in PHP to typically defeat the output buffering to diagnose the output of long scripts does not seem to be working with LiteSpeed.

I suspect this is because LiteSpeed tries to gather the output so it can compress+chunk it (typically in 4k blocks).

Is there any trick I can use to defeat the buffer effect on a per-script basis?

None of these solve the problem:
ini_set('output_buffering', 0);
ini_set('implicit_flush', 1);
ob_end_flush();

Last edited by aww; 05-02-2008 at 08:17 AM..
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 11:13 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.