php : Warning: session_start() function.session-start: Cannot send session cache limiter – headers already sent (output started at


ilmu baru :d heheh
pernah nemuin error ini di localhost xampp ?

Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at ….

buka file php.ini di C:\xampp\apache\bin
kemudian cari baris berikut

; 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 = off

ganti menjadi :
output_buffering = on

nb : stop apache dan mysql anda di XAMPP control panel sebelum melakukan perubahan tersebut.

5 Comments to “php : Warning: session_start() function.session-start: Cannot send session cache limiter – headers already sent (output started at”

  1. Thanks bro,,,
    ini yang aku caRi
    it’s 100% worked

  2. Thanks.. cukup membantu..
    walaupun dgn meng-on kan buffer output mungkin bisa terjadi side effect sih (setelah baca keterangan mksutnya buffer output on apa)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: