Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #6526
| From | Jerry Stuckle <jstucklex@attglobal.net> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: PHP does not flush output on IIS7 .. |
| Date | 2012-07-10 11:47 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <jthiq0$4o8$1@dont-email.me> (permalink) |
| References | <ce935984-afad-4858-b8db-5ea09da4865b@googlegroups.com> |
On 7/10/2012 6:53 AM, brillisoft@gmail.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. > Not unusual. All the PHP flush() can do is flush the PHP buffers. These are sent to the web server, which may do buffering of its own. It could also be buffered between the web server and the client application (i.e. server's OS, routers along the way, client OS), but these are generally very short time and can *usually* be ignored. When it finally gets to the client, the browser may display the data immediately, or it may buffer it until some or all of the data comes in (i.e. HTML tables are often buffered). All PHP can control is the initial PHP buffers. Everything else is beyond its control. Since the only thing you changed was your IIS, I would suggest you look at IIS to see if there's a way to do what you want. -- ================== Remove the "x" from my email address Jerry Stuckle JDS Computer Training Corp. jstucklex@attglobal.net ==================
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
PHP does not flush output on IIS7 .. brillisoft@gmail.com - 2012-07-10 03:53 -0700
Re: PHP does not flush output on IIS7 .. brillisoft@gmail.com - 2012-07-10 04:06 -0700
Re: PHP does not flush output on IIS7 .. brillisoft@gmail.com - 2012-07-10 04:02 -0700
Re: PHP does not flush output on IIS7 .. Erwin Moller <erwinmollerusenet@xs4all.nl> - 2012-07-10 13:23 +0200
Re: PHP does not flush output on IIS7 .. brillisoft@gmail.com - 2012-07-10 06:42 -0700
Re: PHP does not flush output on IIS7 .. Robert Heller <heller@deepsoft.com> - 2012-07-10 10:38 -0500
Re: PHP does not flush output on IIS7 .. Jerry Stuckle <jstucklex@attglobal.net> - 2012-07-10 11:47 -0400
Re: PHP does not flush output on IIS7 .. brillisoft@gmail.com - 2012-07-11 07:00 -0700
Re: PHP does not flush output on IIS7 .. Captain Paralytic <paul_lautman@yahoo.com> - 2012-07-12 02:18 -0700
csiph-web