From:             [EMAIL PROTECTED]
Operating system: RH Linux 7.2
PHP version:      4.2.0
PHP Bug Type:     Output Control
Bug description:  zlib.output_compression INI change permissions

The php.ini configuration directive zlib.output_compression is defined as:
 STD_PHP_INI_BOOLEAN("zlib.output_compression", "0", PHP_INI_ALL,
OnUpdate_zlib_output_compression, output_compression, zend_zlib_globals,
zlib_globals)

However, the OnUpdate_zlib_output_compression function does not
enable/disable this functionality. The output compression is only enabled
during request initalization, so having INI_ALL access is confusing when
you cannot enable or disable within a script.

Suggest changing to PHP_INI_SYSTEM to indicate its true nature or better
yet a feature request to move the functionality of RINIT to its own
routine and have RINIT use it, as well as OnChange_zlib_output_compression
after detecting if any output has already been sent.
-- 
Edit bug report at http://bugs.php.net/?id=17299&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=17299&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=17299&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=17299&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=17299&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17299&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=17299&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=17299&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=17299&r=submittedtwice
register_globals:    http://bugs.php.net/fix.php?id=17299&r=globals

Reply via email to