summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2001-08-12 22:42:36 +0000
committerZeev Suraski <zeev@php.net>2001-08-12 22:42:36 +0000
commitafedca1ff6e38dcb5018ba1b2d9fd4b1520b2256 (patch)
treeaf73c923230ea39dc05cf736277f96259cd2cde0
parent35de326b0e35167199544f9334a124005042ad8a (diff)
downloadphp-git-afedca1ff6e38dcb5018ba1b2d9fd4b1520b2256.tar.gz
Enable output buffering in the php.ini-recommended
-rw-r--r--php.ini-recommended7
1 files changed, 6 insertions, 1 deletions
diff --git a/php.ini-recommended b/php.ini-recommended
index 03f30ee1c4..da92aff814 100644
--- a/php.ini-recommended
+++ b/php.ini-recommended
@@ -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 @@ y2k_compliance = Off
; 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