PHP - Cannot modify header information - headers already sent by ...

This message means that your PHP script is sending data to the web browser before the headers and is actually fairly common. To resolve this issue you simply will need to edit the .htaccess file in your public_html folder on your account and add this line:

php_flag output_buffering on

Output buffering causes the web server to process all PHP before sending anything to the browser which allows your script to modify the headers at any time during the execution of the script, eliminating this error message.

  • 151 Users Found This Useful
Was this answer helpful?

Related Articles

WP-Login produces 403 error.

We were forced to temporarily disable access to the wp-login.php script on some accounts that...

How do I access my cPanel?

Accessing your cPanel directly You can get to your control panel by appending "/cpanel" on to...

How do I access my cPanel?

Accessing your cPanel directly You can get to your control panel by appending "/cpanel" on to...

I have a reseller account at another provider... Will you transfer it for me?

We will always do our best to assist you as much as possible when it comes to migrating accounts...

I can't access the server but the server status says it's up.

Our servers are configured to block IPs based upon log-in failures to help protect your account...