Jump to content

[SOLVED] Warning: Cannot modify header information


jaikob

Recommended Posts

I recently switched to debian lenny. I had to move a few of my websites hosted on a centos 5.2 Server running the newest version of PHP.

 

Well, on Debian Lenny, I am getting error: Warning: Cannot modify header information. I NEVER got this on my CentOS box.

 

is there a setting I need to change in php.ini?

 

Thanks :)

Output buffering is the reasoning why. I believe you can set this in php.ini or in .htaccess.

 

Either way, that is why it would work. The output was saved and displayed to the browser after processing. This is more of a bandaid to the issue, but yea.

Output buffering is the reasoning why. I believe you can set this in php.ini or in .htaccess.

 

Either way, that is why it would work. The output was saved and displayed to the browser after processing. This is more of a bandaid to the issue, but yea.

You are god. Thanks!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.