[olug] streaming data (text/stream) and PHP

Lou Duchez lou at paprikash.com
Tue Jul 28 16:52:25 CDT 2020

So if you've tried to send streaming data to a browser via PHP and 
Apache, you may have found that, no matter what you do, you can't get 
the server to not insist on sending data in 4k chunks.  The culprit for 
me was PHP-FPM, and here's how I got around it:


So the answer is, set up a new Proxy in your Virtual Host configuration, 
something like this:

</FilesMatch><Proxyfcgi://localhost>ProxySet enablereuse=on 
flushpackets=on </Proxy> |

More information about the OLUG mailing list