note 125306 added to function.flush

From: Date: Fri, 28 Aug 2020 15:29:00 +0000
Subject: note 125306 added to function.flush
Groups: php.notes 
Request: Send a blank email to php-notes+get-215037@lists.php.net to get a copy of this message
If you want to make flush work when using php-fpm from Apache httpd with mod_proxy_fcgi, since 2.4.31 you can append flushpackets=on to enable flushing, which is instant by default, and and flushwait=n where n is in milliseconds to delay the flushing time for performance seconds. These values can be appended to the <Proxy> directive, e.g. <Proxy "fcgi://localhost/" flushpackets=on flushwait=500> or in ProxyPass and ProxyPassMatch lines. The mod_proxy_fcgi documentation for 2.4 does not document this, but it is available in the 2.5 or trunk documentation. ---- Server IP: 45.112.84.4 Probable Submitter: 103.51.166.36 (proxied: 201.202.14.1) ---- Manual Page -- http://php.net/manual/en/function.flush.php Edit -- https://master.php.net/note/edit/125306 Del: integrated -- https://master.php.net/note/delete/125306/integrated Del: useless -- https://master.php.net/note/delete/125306/useless Del: bad code -- https://master.php.net/note/delete/125306/bad+code Del: spam -- https://master.php.net/note/delete/125306/spam Del: non-english -- https://master.php.net/note/delete/125306/non-english Del: in docs -- https://master.php.net/note/delete/125306/in+docs Del: other reasons-- https://master.php.net/note/delete/125306 Reject -- https://master.php.net/note/reject/125306 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#215037) next »