[php-src] Issue #14318: Magic URL param to disable output buffering
| From: | kripper | Date: | Sat, 25 May 2024 07:41:42 +0000 |
| Subject: | [php-src] Issue #14318: Magic URL param to disable output buffering | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-246961@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/14318
Author: kripper
### Description
In order to use
flush() with php-fpm, currently we need to configure:
- In /etc/opt/remi/php81/php.ini:
output_buffering = Off
- In /etc/httpd/conf.d/php81-php.conf:
```
<Proxy fcgi://localhost>
ProxySet enablereuse=on flushpackets=on
</Proxy>
```
Please implement a magic URL param to disable buffering for specific requests. For instance,
/?PHP-FPM-NO-BUFFERING=1