diff options
| author | Yasuo Ohgaki <yohgaki@php.net> | 2002-08-11 02:32:49 +0000 |
|---|---|---|
| committer | Yasuo Ohgaki <yohgaki@php.net> | 2002-08-11 02:32:49 +0000 |
| commit | 42355837c1e220a423c66165a0a197f2866259c8 (patch) | |
| tree | fcaa89adcd8d919a6c75b24b51b1000f4da79319 /php.ini-recommended | |
| parent | 02ed7058187c8edf47adccfd0924bbd7400992c4 (diff) | |
| download | php-git-42355837c1e220a423c66165a0a197f2866259c8.tar.gz | |
Changed my mind.
Let users decided whether users want larger chunk size or not.
@ Changed zlib.output_compression behavior. If larger chunk is preferred,
enable output_buffering also. (Marcus, Yasuo)
Diffstat (limited to 'php.ini-recommended')
| -rw-r--r-- | php.ini-recommended | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/php.ini-recommended b/php.ini-recommended index d2cb4cc86a..ec97fac95a 100644 --- a/php.ini-recommended +++ b/php.ini-recommended @@ -105,21 +105,23 @@ output_buffering = 4096 ; example, if you set output_handler to "mb_output_handler", character ; encoding will be transparently converted to the specified encoding. ; Setting any output handler automatically turns on output buffering. -; NOTE: People who wrote portable scripts should not depend on this ini -; directive. Instead, explicitly set the output handler using ob_start(). -; Using this ini directive may cause problems unless you know what script -: is doing. -; NOTE: You cannot use both "mb_output_handler" with "ob_inconv_handler" -; and you cannot use both "ob_gzhandler" and "zlib.output_compression". +; Note: People who wrote portable scripts should not depend on this ini +; directive. Instead, explicitly set the output handler using ob_start(). +; Using this ini directive may cause problems unless you know what script +: is doing. +; Note: You cannot use both "mb_output_handler" with "ob_inconv_handler" +; and you cannot use both "ob_gzhandler" and "zlib.output_compression". ;output_handler = ; Transparent output compression using the zlib library ; Valid values for this option are 'off', 'on', or a specific buffer size ; to be used for compression (default is 4KB) -; +; Note: Resulting chunk size may vary due to nature of compression. PHP +; outputs chunks that are few handreds bytes each as a result of compression. +; If you want larger chunk size for better performence, enable output_buffering +; also. ; Note: output_handler must be empty if this is set 'On' !!!! ; Instead you must use zlib.output_handler. -; zlib.output_compression = Off ; You cannot specify additional output handlers if zlib.output_compression |
