From: MikeB [mailto:mpbr...@gmail.com]
Sent: Monday, September 27, 2010 9:01 PM
Subject: [PHP] Controlling Output Buffering via php.ini
I want to turn off output buffering.
In the php.ini section I found this and changed it as follows:
; Note: Output buffering can also be controlled via Output Buffering Control
; Possible Values:
; On = Enabled and buffer is unlimited. (Use with caution)
; Off = Disabled
; Integer = Enables the buffer and sets its maximum size in bytes.
; Note: This directive is hardcoded to Off for the CLI SAPI
; Default Value: Off
; Development Value: 4096
; Production Value: 4096
; Changed by MikeB 09/27/2010
;output_buffering = 4096
output_buffering = Off
Previously when I did a phpinfo(), I got the value of 4096.
After my change, I get:
output_buffering no value
Some other phpinfo() values (eg. Register Globals) display an "Off" value.
Did I make the change correctly or is the syntax different?
I did go to the url referenced above, but nowhere that I searched could
I find the way to specify the value in the php.ini file.
Your output statement is commented out
__________ Information from ESET Smart Security, version of virus signature
database 5484 (20100927) __________
The message was checked by ESET Smart Security.
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php