Page 1 of 1

How to supress notices from php

Posted: Mon Jun 28, 2010 7:07 pm
by Saman
Edit php.ini and find error_reporting. Set it as below.

Code: Select all

error_reporting = E_ERROR
This will suppress all warnings & notices like "Notice: Use of undefined constant...."