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 Facebook0
Share on Google+3Tweet about this on TwitterShare on StumbleUpon0Share on LinkedIn0Share on Tumblr0Digg thisPin on Pinterest0Share on Reddit0Email 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 *

CAPTCHA