diff options
author | Zeev Suraski <zeev@php.net> | 2000-11-13 18:54:37 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2000-11-13 18:54:37 +0000 |
commit | 0f7f5c2c0e616445d14b49641e85dbddcc1651e5 (patch) | |
tree | 83f0bce3ba6ba891798d828e5ad1c0334739513e /php.ini-dist | |
parent | 9b42296babc97defd3b7635b395506d5539aae20 (diff) | |
download | php-git-0f7f5c2c0e616445d14b49641e85dbddcc1651e5.tar.gz |
- Import Jade Nicoletti's transparent gzip encoding support as an output
handler. Works quite nicely!
- Fix buglets in output buffering
- Add output_handler INI directive
Diffstat (limited to 'php.ini-dist')
-rw-r--r-- | php.ini-dist | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/php.ini-dist b/php.ini-dist index 8d098e7d97..43b5032271 100644 --- a/php.ini-dist +++ b/php.ini-dist @@ -64,6 +64,12 @@ output_buffering = Off ; Output buffering allows you to send header lines (inclu ; You can enable output buffering by in runtime by calling the output ; buffering functions, or enable output buffering for all files ; by setting this directive to On. +output_handler = ; You can redirect all of the output of your scripts to a function, + ; that can be responsible to process or log it. For example, + ; if you set the output_handler to "ob_gzhandler", than output + ; will be transparently compressed for browsers that support gzip or + ; deflate encoding. Setting an output handler automatically turns on + ; output buffering. implicit_flush = Off ; Implicit flush tells PHP to tell the output layer to flush itself ; automatically after every output block. This is equivalent to ; calling the PHP function flush() after each and every call to print() |