note 75995 added to ref.zlib

From: Date: Tue, 26 Jun 2007 06:58:55 +0000
Subject: note 75995 added to ref.zlib
Groups: php.notes 
Request: Send a blank email to php-notes+get-127974@lists.php.net to get a copy of this message
If you have zlib.output_compression set to on when your script starts (in php.ini or via apache directive), then you disable it at runtime using ini_set() before producing output, your output will still be buffered! Even if you call ob_implicit_flush(). If you want unbuffered output, you must disable zlib.output_compression before your script starts (as well as mod_gzip of course, if you have both installed). This behaviour experienced on Server: Apache/1.3.33 (Debian GNU/Linux) mod_gzip/1.3.26.1a PHP/4.3.10-18 ---- Server IP: 202.79.178.91 Probable Submitter: 202.156.12.10 (proxied: 218.212.114.103) ---- Manual Page -- http://www.php.net/manual/en/ref.zlib.php Edit -- https://master.php.net/note/edit/75995 Del: integrated -- https://master.php.net/note/delete/75995/integrated Del: useless -- https://master.php.net/note/delete/75995/useless Del: bad code -- https://master.php.net/note/delete/75995/bad+code Del: spam -- https://master.php.net/note/delete/75995/spam Del: non-english -- https://master.php.net/note/delete/75995/non-english Del: in docs -- https://master.php.net/note/delete/75995/in+docs Del: other reasons-- https://master.php.net/note/delete/75995 Reject -- https://master.php.net/note/reject/75995 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#127974) next »