Brian Pane wrote:
> That definitely will improve the numbers, but I'd rather not spend the
> next few years saying "turn on buffering in mod_php" every time another
> user posts a benchmark claiming that "Apache 2.0 sucks because it runs
> my PHP scripts ten times slower than 1.3 did." :-)
Well, it's already turned on in php.ini-recommended:
; Output buffering allows you to send header lines (including
; cookies) even after you send body content, at the price of slowing
; PHP's output layer a bit. You can enable output buffering during
; runtime by calling the output buffering functions. You can also
; enable output buffering for all files by 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 = 4096
--
Sebastian Bergmann
http://sebastian-bergmann.de/ http://phpOpenTracker.de/
Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/