cvs: php4 / php.ini-dist php.ini-recommended
| From: | Yasuo Ohgaki | Date: | Fri, 09 Aug 2002 06:14:33 +0000 |
| Subject: | cvs: php4 / php.ini-dist php.ini-recommended | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-13231@lists.php.net to get a copy of this message | ||
yohgaki Fri Aug 9 02:14:33 2002 EDT
Modified files:
/php4 php.ini-dist php.ini-recommended
Log:
Added note for output_handler usage. (with Marcus and Adam's fix)
Index: php4/php.ini-dist
diff -u php4/php.ini-dist:1.138 php4/php.ini-dist:1.139
--- php4/php.ini-dist:1.138 Sun Jul 28 13:25:55 2002
+++ php4/php.ini-dist Fri Aug 9 02:14:32 2002
@@ -89,9 +89,15 @@
output_buffering = Off
; You can redirect all of the output of your scripts to a function. For
-; example, if you set output_handler to "ob_gzhandler", output will be
-; transparently compressed for browsers that support gzip or deflate encoding.
-; Setting an output handler automatically turns on output buffering.
+; 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".
output_handler =
; The unserialize callback function will called (with the undefind class'
Index: php4/php.ini-recommended
diff -u php4/php.ini-recommended:1.91 php4/php.ini-recommended:1.92
--- php4/php.ini-recommended:1.91 Sun Jul 28 13:25:55 2002
+++ php4/php.ini-recommended Fri Aug 9 02:14:33 2002
@@ -102,9 +102,15 @@
output_buffering = 4096
; You can redirect all of the output of your scripts to a function. For
-; example, if you set output_handler to "ob_gzhandler", output will be
-; transparently compressed for browsers that support gzip or deflate encoding.
-; Setting an output handler automatically turns on output buffering.
+; 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".
output_handler =
; Transparent output compression using the zlib library