From afedca1ff6e38dcb5018ba1b2d9fd4b1520b2256 Mon Sep 17 00:00:00 2001 From: Zeev Suraski Date: Sun, 12 Aug 2001 22:42:36 +0000 Subject: [PATCH] Enable output buffering in the php.ini-recommended --- php.ini-recommended | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- 2.50.1