Re: Re[2]: How to disable PHP output buffering

2014-02-14 Thread gaspy
OK, so I modified nginx and php5-fpm to talk on port 9000 and used tcpdump to see the traffic. It looks like it worked as packets arrived at 1 second intervals (the sleep(1) in my code). However in browser it was still the same. After more testing, it turns out there's something in my computer co

Re[2]: How to disable PHP output buffering

2014-02-12 Thread wishmaster
--- Original message --- From: "gaspy" Date: 13 February 2014, 08:20:21 > "To ensure configuration of the PHP part is done correctly, you can dump > communication between nginx and PHP." > > Now that sounds interesting. How can I do this? > Use php process listening on inet/inet6 soc

Re: How to disable PHP output buffering

2014-02-12 Thread gaspy
"To ensure configuration of the PHP part is done correctly, you can dump communication between nginx and PHP." Now that sounds interesting. How can I do this? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,247451,247493#msg-247493 ___ nginx

Re: How to disable PHP output buffering

2014-02-12 Thread gaspy
I already have fastcgi_buffering off (it was in my original email). Posted at Nginx Forum: http://forum.nginx.org/read.php?2,247451,247492#msg-247492 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: How to disable PHP output buffering

2014-02-12 Thread B.R.
Don't forget taking into account browser buffering: depending on which one you are using, it waits for a certain amount of data before displaying anything. To convince you of that, listen to the incoming network traffic to check that data is arriving to the client. That's a limit upon you cannot d

Re: How to disable PHP output buffering

2014-02-12 Thread António P . P . Almeida
http://nginx.org/en/docs/http/ngx_http_fastcgi_module.html#fastcgi_buffering Set: fastcgi_buffering off; and you're done. appa On Wed, Feb 12, 2014 at 9:37 PM, gaspy wrote: > Well, I tried with postpone_output off anyway, no joy. > > I verified that gzip is actually off. I'm out of ide

Re: How to disable PHP output buffering

2014-02-12 Thread gaspy
Well, I tried with postpone_output off anyway, no joy. I verified that gzip is actually off. I'm out of ideas Posted at Nginx Forum: http://forum.nginx.org/read.php?2,247451,247479#msg-247479 ___ nginx mailing list nginx@nginx.org http://mailman.n

Re: How to disable PHP output buffering

2014-02-12 Thread Valentin V. Bartenev
On Wednesday 12 February 2014 12:03:15 Richard Stanway wrote: > Did you check postpone_output? > > http://nginx.org/en/docs/http/ngx_http_core_module.html#postpone_output [..] It doesn't matter since fastcgi_buffering switched off. wbr, Valentin V. Bartenev ___

Re: How to disable PHP output buffering

2014-02-12 Thread Richard Stanway
Did you check postpone_output? http://nginx.org/en/docs/http/ngx_http_core_module.html#postpone_output On Wed, Feb 12, 2014 at 10:41 AM, gaspy wrote: > Hi, > > I know this has been asked before, but I could not find a definitive > answer. > I tried different solutions, nothing worked. > > I h

How to disable PHP output buffering

2014-02-12 Thread gaspy
Hi, I know this has been asked before, but I could not find a definitive answer. I tried different solutions, nothing worked. I have a PHP script that has to do time intensive operations and provide a status update from time to time. No way around it. I built a sample PHP script: I have output_