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-recommended | |
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-recommended')
-rw-r--r-- | php.ini-recommended | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/php.ini-recommended b/php.ini-recommended index f0d4ca6ae5..1bdd0060aa 100644 --- a/php.ini-recommended +++ b/php.ini-recommended @@ -51,6 +51,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() |