#33653 [Opn->Bgs]: ini_set('zlib.output_compression', true) does not compress output
| From: | sniper@php.net | Date: | Tue, 12 Jul 2005 16:08:58 +0000 |
| Subject: | #33653 [Opn->Bgs]: ini_set('zlib.output_compression', true) does not compress output | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-81766@lists.php.net to get a copy of this message | ||
ID: 33653
Updated by: sniper@php.net
Reported By: lacak at users dot sourceforge dot net
-Status: Open
+Status: Bogus
Bug Type: Output Control
Operating System: Win 2000
PHP Version: 4.3.11
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2005-07-12 07:15:22] lacak at users dot sourceforge dot net
Description:
------------
When I use in script (as a first line) statement :
ini_set('zlib.output_compression', true);
output is not compressed (is send as plain text).
When I set zlib.output_compression=On in php.ini output is compressed
(OK)
Then when I use ini_set('zlib.output_compression', false); output is
send as text (OK)
Why does not work ini_set('zlib.output_compression', true); ?
Reproduce code:
---------------
<?php
ini_set('zlib.output_compression', true);
phpinfo();
?>
Expected result:
----------------
Compressed output (Content-Encoding: gzip)
Actual result:
--------------
plain text
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=33653&edit=1