4 ms·
You need to disable fcgi buffering in whatever http server you're using. For exemple in nginx, the option name is "fastcgi_buffering". Then flush() and the like
by nolok 5y ago
You need to disable fcgi buffering in whatever http server you're using. For exemple in nginx, the option name is "fastcgi_buffering". Then flush() and the likes will work again.
Note that if enabled you need to disable gzip compression too since that has its own buffering.
Buffering can still be accomplished php side when needed with ob_ functions.