Uncategorized

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!

Abhijit Sandhan

Love to Automate, Blog, Travel, Hike & spread Knowledge!

Related Articles

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Back to top button