How to fix "Warning: Cannot modify header information - headers already sent by"

php logoIf you are getting error as

"Warning: Cannot modify header information - headers already sent by"

then open the php.ini file of the domain.

Check "output_buffer" value in php.ini and alter the current settings (turn On/Off)

Also, increase "maximum_execution_time" to 300.

Save the php.ini file and restart apache service.

If any feedback, queries are always welcome!

Share on Facebook0Share on Google+0Tweet about this on TwitterShare on StumbleUpon0Share on LinkedIn0Share on Tumblr0Pin on Pinterest0Email this to someonePrint this page

About Abhijit Sandhan

Abhijit Sandhan

Loves Linux, Blogging, Traveling, Hiking and sharing Knowledge!

Leave a Reply

Your email address will not be published. Required fields are marked *