Disable warning and notice message for wamp
by David Pham • May 30, 2015 • Blog • 3 Comments
Sometimes the product mode of a PHP source code will need to disable warning and notice message on wamp server. The reason is we have to work and run a source code what we don’t know the structure.
Other than that, we have to take care the situation so the error come suddenly and it is not good to show the warning message for user. So let ‘s disable warning and notice message with this simple way
Open file php.ini
Find this line
1 |
;error_reporting .... |
And then make sure it is edited like this
1 |
error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED |
3 Responses to Disable warning and notice message for wamp