Display All Php Errors As Well As Warnings

I am annoyed why my php script doesn't demo errors together with warnings similar it did before. It seems my server admin has default config gear upwards non to demo the errors together with warnings.

Every fourth dimension I was debugging the code I constitute myself searching around for the niggling chunk of code to display all PHP errors together with warnings. So, I order inwards the my post service then it was ever nearby when I needed.

If yous wishing to run into all the PHP errors together with warnings inwards your script, include the next chip of code to override the php default config setting.

 error_reporting(E_ALL); ini_set('display_errors', '1'); 

Sumber http://developer-paradize.blogspot.com

Comments

Popular posts from this blog

What Are The Main Components of a Computer System

Top Qualities To Look For In An IT Support Team

How To Integrate Google Adwords Api Into Codeigniter?