FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » PHP does not flush output on IIS7 ..
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: PHP does not flush output on IIS7 .. [message #178597 is a reply to message #178594] Tue, 10 July 2012 11:23 Go to previous messageGo to previous message
Erwin Moller is currently offline  Erwin Moller
Messages: 228
Registered: September 2010
Karma:
Senior Member
On 7/10/2012 12:53 PM, brillisoft(at)gmail(dot)com wrote:
> The following PHP program was flushing output correctly on an old Win2000 server with IIS 5.x - but refuses to do the same on a Windows 2008 64 bits server running IIS7.
>
> Rather than throwing a line on the browser every second as coded, it waits the entire loop, buffers the result, and prints all at once when the code ends running.
>

You forgot to post the "following PHP program".

A few ideas:
1) It is very well possible your webserver (IIS7) decided to buffer the
results until it deemed the output worthy (big enough) to send to the
client.

2) Behaviour depends also on the way you installed PHP
(CGI/fast-cgi/isapi/more?)

3) Did you check php.ini? Maybe you are using output buffering without
knowing.

4) If you really need such behavior, you better ask in an IIS related
newsgroup.

Regards,
Erwin Moller

--
"That which can be asserted without evidence, can be dismissed without
evidence."
-- Christopher Hitchens
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Extracting multiple matches from a string using preg_replace
Next Topic: Check out www.phpscribble.com
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 07:46:00 GMT 2024

Total time taken to generate the page: 0.04161 seconds