Enable PHP Error Reporting

To enable error reporting in PHP script, add

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

To avoid PHP scripts showing errors, add

error_reporting(0);
ini_set('display_errors', '0');
Advertisement
Add a comment

Leave a Reply

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

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Advertisement