NYCPHP Meetup

NYPHP.org

[nycphp-talk] headers already sent...

Adam Maccabee Trachtenberg adam at trachtenberg.com
Mon Apr 19 15:46:02 EDT 2004


On Mon, 19 Apr 2004, felix zaslavskiy wrote:

> Most likely session header is sent automatically.

One way to help work around this is to enable the output_buffering
php.ini configuration directive:

; - 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.

Ob plug: This is discussed in Recipe 8.18 of PHP Cookbook. :)

-adam

-- 
adam at trachtenberg.com
author of o'reilly's php cookbook
avoid the holiday rush, buy your copy today!



More information about the talk mailing list