note 99988 added to function.flush
| From: | seb dot field at gmail dot com | Date: | Sat, 18 Sep 2010 10:52:22 +0000 |
| Subject: | note 99988 added to function.flush | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-172708@lists.php.net to get a copy of this message | ||
If flush() function does not work. You must set next options in php.ini like:
--[code]--
output_buffering = Off
;output_handler =
zlib.output_compression = Off
;zlib.output_handler =
--[^code^]--
If things does not work you must view headers from the server and check
Server string.
In my case, as the frontend was Nginx webserver and Apache work as backend.
Accordingly, buffering must be disabled in Nginx config file.
To stop buffering you must add next string to config file:
--[code]--
proxy_buffering off;
--[^code^]--
and restart Nginx daemon. More information about configuration you find in documentation on the
nginx website.
----
Server IP: 69.147.83.197
Probable Submitter: 46.118.152.89
----
Manual Page -- http://www.php.net/manual/en/function.flush.php
Edit -- https://master.php.net/note/edit/99988
Del: integrated -- https://master.php.net/note/delete/99988/integrated
Del: useless -- https://master.php.net/note/delete/99988/useless
Del: bad code -- https://master.php.net/note/delete/99988/bad+code
Del: spam -- https://master.php.net/note/delete/99988/spam
Del: non-english -- https://master.php.net/note/delete/99988/non-english
Del: in docs -- https://master.php.net/note/delete/99988/in+docs
Del: other reasons-- https://master.php.net/note/delete/99988
Reject -- https://master.php.net/note/reject/99988
Search -- https://master.php.net/manage/user-notes.php