ID:               33653
 User updated by:  lacak at users dot sourceforge dot net
 Reported By:      lacak at users dot sourceforge dot net
 Status:           Open
 Bug Type:         Feature/Change Request
 Operating System: Win 2000
-PHP Version:      4.3.11
+PHP Version:      5.0.5
 New Comment:

feature change request for version 5.0.x


Previous Comments:
------------------------------------------------------------------------

[2005-07-13 10:06:36] lacak at users dot sourceforge dot net

if this is not a bug, then it may be a feature change request.

User can switch in script from 'zlib.output_compression=On' /* set in
php.ini */ to 'zlib.output_compression=Off' /* using ini_set() - It
works */

Why not add switching from Off to On in script ?

------------------------------------------------------------------------

[2005-07-12 18:08:58] [EMAIL PROTECTED]

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.



------------------------------------------------------------------------

[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

Reply via email to