Sometimes you my see an issue loading your site ( sometimes a 500 error ) and when you look into the Apache logs, you see a similar message:PHP Warning: Cannot modify header information – headers already sent by (output started at /home/someuser/public_html/somescript.php)
To fix this make sure the PHP scripts are uploaded to the server in ASCII format as file enconding like UTF-8 may cause this issue.
It could also be possible that, as in this case, file somescript.php has blank spaces at the beginning of the file or it is printing or echoing any character that should not be there.
- 518 Users Found This Useful
Related Articles
VPS Server Management from Clients Panel
For Customers to access their New VPS service, they need to do the following:Click on Services...
How to recompile Apache/PHP in WHM
Log into WHM and navigate to EasyApache (Apache Update)On the main page make sure ‘Begin by...
WHM/cPanel Log files
cPanel logs most activity tdat happens on a server to log files so you can go back and review log...
How to redirect your website from HTTP to HTTPS ?
We are going to explain two ways to enable HTTP to HTTPS redirect:Using .htaccess file:Create or...
How to recompile Apache/PHP in WHM
Log into WHM and navigate to EasyApache (Apache Update)On the main page make sure ‘Begin by...