DE EN IT

~/errors / PHP

PHP Warning: Cannot modify header information - headers already sent by (output started at ...)

PHP sends HTTP headers (redirect, cookie, session) only before any body output. Something printed text first, even a single space or a hidden byte. The message names the file and line where the output started.

New articles by e-mail

One e-mail per new article. No tracking, unsubscribe any time. As a thank-you after confirming: my “Server operations & patching” checklist (PDF).