#35936 [Opn->Csd]: ini.zlib.output-compression Documentation

From: Date: Mon, 03 Aug 2009 18:16:23 +0000
Subject: #35936 [Opn->Csd]: ini.zlib.output-compression Documentation
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-2597@lists.php.net to get a copy of this message
ID: 35936 Updated by: jani@php.net Reported By: sBoisvert at bryxal dot ca -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: XP PHP Version: 5.1.1 New Comment: There was a bug that caused "on" string to be treated wrong when used in a script via ini_set(). This is now fixed. Previous Comments: ------------------------------------------------------------------------ [2009-08-03 18:15:31] svn@php.net Automatic comment from SVN on behalf of jani Revision: http://svn.php.net/viewvc/?view=revision&revision=286751 Log: - Fixed bug #48994 (zlib.output_compression does not ouput HTTP headers when set to a string value) # also fixes bug #35936 (ini.zlib.output-compression Documentation :) ------------------------------------------------------------------------ [2007-08-20 14:45:14] jani@php.net From reading the sources (always the best reference..): 156 php_error(E_WARNING, "Cannot change zlib.output_compression buffer size during script execution"); 157 return FAILURE; Vrana: Please, don't reclassify documentation issues before discussing on internals where lot more people than just me can see them.. ------------------------------------------------------------------------ [2007-08-20 12:36:32] vrana@php.net Is there a reason to not be able to *enable* the output compression from runtime? ------------------------------------------------------------------------ [2006-05-24 11:48:54] mike@php.net IIRC (and reading the code reveals that) it's possible to *disable* zlib.output_compression at runtime, which actually works fine here. ------------------------------------------------------------------------ [2006-04-15 21:29:36] tony2001@php.net Looks like the docs are wrong and this option is actually not PHP_INI_ALL, but PHP_INI_SYSTEM|PHP_INI_PERDIR. This was accidentally changed with this patch: http://cvs.php.net/viewcvs.cgi/php-src/ext/zlib/zlib.c?r1=1.136&r2=1.137 ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/35936 -- Edit this bug report at http://bugs.php.net/?id=35936&edit=1

« previous php.doc.bugs (#2597) next »