cvs: php4 / php.ini-recommended
| From: | Zeev Suraski | Date: | Sun, 12 Aug 2001 22:42:37 +0000 |
| Subject: | cvs: php4 / php.ini-recommended | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-6759@lists.php.net to get a copy of this message | ||
zeev Sun Aug 12 18:42:37 2001 EDT
Modified files:
/php4 php.ini-recommended
Log:
Enable output buffering in the php.ini-recommended
Index: php4/php.ini-recommended
diff -u php4/php.ini-recommended:1.48 php4/php.ini-recommended:1.49
--- php4/php.ini-recommended:1.48 Sat Aug 11 18:55:35 2001
+++ php4/php.ini-recommended Sun Aug 12 18:42:36 2001
@@ -43,6 +43,11 @@
; but can be configured in several ways). Along with setting display_errors to off,
; this setup gives you the ability to fully understand what may have gone wrong,
; without exposing any sensitive information to remote users.
+; - output_buffering = 4096 [Performance]
+; Set a 4KB output buffer. Enabling output buffering typically results in less
+; writes, and sometimes less packets sent on the wire, which can often lead to
+; better performance. The gain this directive actually yields greatly depends
+; on which Web server you're working with, and what kind of scripts you're using.
; - register_argc_argv = Off [Performance]
; Disables registration of the somewhat redundant $argv and $argc global
; variables.
@@ -85,7 +90,7 @@
; setting this directive to On. If you wish to limit the size of the buffer
; to a certain size - you can use a maximum number of bytes instead of 'On', as
; a value for this directive (e.g., output_buffering=4096).
-output_buffering = Off
+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