Welcome! Log In Create A New Profile

Advanced

Re: php flush() are not effective.

Shri @ DevLib.Org
April 29, 2009 09:26PM
Ken - The PHP directive / PHP.INI setting is of no use, as the webserver is compressing and buffering the output.

You might want to consider turning the gzip on and off depending on the location. According to http://wiki.nginx.org/NginxHttpGzipModule gzip on | off is supported down to a location level.

Did you need to change the fastcgi_buffer_size variable? Best to change one variable at a time and figure what causes / fixes the problem (and change back to see if the old symptoms reappear).

Regards,
Shri

----- Original Message -----
From: Ken Chen
To: nginx@sysoev.ru
Sent: Thursday, April 30, 2009 2:03 AM
Subject: Re: php flush() are not effective.


hi Shri,

Thanks a lot! It works.

I change the nginx configuration to:

fastcgi_buffer_size 4k;
gzip off;

And PHP script:
Subject Author Posted

php flush() are not effective.

Ken Chen April 29, 2009 11:20AM

Re: php flush() are not effective.

Olivier B. April 29, 2009 11:46AM

Re: php flush() are not effective.

Shri @ DevLib.Org April 29, 2009 11:58AM

Re: php flush() are not effective.

Ken Chen April 29, 2009 02:03PM

Re: php flush() are not effective.

Shri @ DevLib.Org April 29, 2009 09:26PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 160
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready