Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

1 like 0 dislike
1.8k views
in Others by

How to Hide/Disable PHP errors in WAMP Servers Windows ?

2 Answers

0 like 0 dislike
by The go-to Tester (181 points)
selected by
 
Best answer
In case of production use this:

 

error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
0 like 0 dislike
by The go-to Tester (181 points)

You have to open php.ini file and find following line of code


error_reporting = E_ALL
 
and replace it with

error_reporting = E_ALL & ~E_NOTICE

all future php errors will be hide/disable.

To open php.ini file in WAMP Server go to system tray click om WAMP Server icon go to PHP and click php.ini file to open it from fly out menu.


This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!

...