How do I enable PHP’s flush() with nginx+PHP-FPM?
- by abrahamvegh
I’m using nginx with PHP-FPM (APC is installed).
I need PHP’s flush() to work. Is this possible?
Things I’ve tried so far:
Disabling all output buffering in php.ini, as well as output compression.
Disabling gzip in nginx’s configuration.
Setting nginx’s fastcgi_* buffering settings and fastcgi_max_temp_file_size to zero.
I’m sure I must be missing something, since I’ve run across many posts here and elsewhere where people claimed they’ve got it working, but I’m having no luck, it would seem.