TAG | apache
Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at XXXXX) in XXXX on lineX
修改php.ini中的session.auto_start = 0 设为 session.auto_start = 1
Cannot modify header information – headers already sent by
修改php.ini 中 output_buffering 设为 on
详细请看
session.auto_start boolean
session.auto_start 指定会话模块是否在请求开始时自动启动一个会话。默认为 0(不启动)。
output_buffering boolean/integer
You can 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). As of PHP 4.3.5, this directive is always Off in PHP-CLI.
