Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #6525

Re: PHP does not flush output on IIS7 ..

From Robert Heller <heller@deepsoft.com>
Organization Deepwoods Software
Subject Re: PHP does not flush output on IIS7 ..
References <ce935984-afad-4858-b8db-5ea09da4865b@googlegroups.com> <4ffc10a8$0$6866$e4fe514c@news2.news.xs4all.nl> <e7bcf33d-4473-48ce-87e4-74efc9ca1839@googlegroups.com>
Newsgroups comp.lang.php
Message-ID <6N6dnQLR1tTH0WHSnZ2dnUVZ_r-dnZ2d@posted.localnet> (permalink)
Date 2012-07-10 10:38 -0500

Show all headers | View raw


At Tue, 10 Jul 2012 06:42:01 -0700 (PDT) brillisoft@gmail.com wrote:

> 
> On Tuesday, July 10, 2012 1:23:20 PM UTC+2, Erwin Moller wrote:
> > On 7/10/2012 12:53 PM, David wrote:
> > You forgot to post the &quot;following PHP program&quot;.
> 
> I did post it .. some timing issue I guess. It is there above your post.
> 
> > 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.
> 
> OK, I understand that and am looking for whatever implicit setting forces the buffering.
> 
> > 2) Behaviour depends also on the way you installed PHP 
> > (CGI/fast-cgi/isapi/more?)
> 
> It is a default installation of PHP for IIS from Microsoft, and I do see that it uses the FastCGI - the IIS FastCGI settings do contain the path of the php-cgi.exe.
>  
> > 3) Did you check php.ini? Maybe you are using output buffering without 
> > knowing.
> 
> I do see the php.ini file under C:\Program File...\PHP\v5.3.
> Cannot edit it .. it says read only.
> Is it normal to edit these files manually?

Yep -- it is the UNIX way. It is a plain text file. I am guessing the
file is owned by an Admin account and you are not logged in as an
Admin.  Or something like that.

> Or does the PHP5.x provide a GUI for doing such things in a more controlled way?

Nope.  PHP5.x does not provide any sort of GUI.  *Maybe* something like
phpadmin (not actually part of PHP5.x, but a separate package) might.

> 
> > 4) If you really need such behavior, you better ask in an IIS related 
> > newsgroup.
> 
> Good point, will look for an IIS related newsgroup.
>      

-- 
Robert Heller             -- 978-544-6933 / heller@deepsoft.com
Deepwoods Software        -- http://www.deepsoft.com/
()  ascii ribbon campaign -- against html e-mail
/\  www.asciiribbon.org   -- against proprietary attachments


                                                                                                              

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


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