note 31243 deleted from function.ob-gzhandler by sobak
| From: | sobak@php.net | Date: | Fri, 25 Nov 2016 06:35:06 +0000 |
| Subject: | note 31243 deleted from function.ob-gzhandler by sobak | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-207661@lists.php.net to get a copy of this message | ||
Note Submitter: nospam at 1111-internet dot com
----
Following up on my previous post - it appears that while:
<?php
ini_set("zlib.output_compression", "Off"); // with no headers yet sent
// followed by the rest of your code...
?>
did not work in php 4.2.3, it did begin to work as of php 4.3.0 as an override to the php.ini
"zlib.output_compression=on" setting. I did not see this in the change log.
In light of this, I'd say using zlib.output_compression is definitely the way to go over
ob_gzhandler() in most cases.