Warez-Host.Com is a division of IWS Ltd
Knowledgebase
Knowledgebase
Portal Home > Knowledgebase > WebSite Down/Issues > I'm receiving a strange error on my website > PHP Error: Cannot modify header information
PHP Error: Cannot modify header information
This is a common PHP error which is usually caused by:
- White spaces before or after the PHP start "<?php" or end "?>" tags;
- Various problems with the header() statement. Check carefully the code before and at the line of this statement.
This error might be hard to troubleshoot in cases where different files are included and all of them have to be carefully expected. An easy workaround is to place a php.ini file containing the following directive:
output_buffering = On
This php.ini file has to be placed in the directory where the error occurs.
Add to Favourites
Print this Article

Shared cPanel Hosting
Netherlands Linux
Luxembourg Linux
Sweden
Special Offers
Custom Quote
SSL Certificates
Outsourced Management
External Licenses
Website Design






