Apache2 php4.4 localhost “set cookies” solved.
In php.ini set:
output_buffering = On (or 4096)
(output_buffering = Off (default))
” 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).”
This worked for me so now I can test my PHP cookies on localhost.
Hope this helps somebody –
mfunk