Skip to content

How to hide the php notices for a site running on WAMP server 2?

Open the php.ini file and find this row:

error_reporting  =  E_ALL

replace it with:

error_reporting  =  E_ALL & ~E_NOTICE

Published inCoding

Be First to Comment

Leave a Reply

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

*