AppServ XAMPP WAMP configuration php.ini remove warning information of NOTICE method

  • 2020-06-01 08:55:12
  • OfStack

AppServ, XAMPP and WAMP are all integrated with apache,mysql and php packages, which are easy to use and do not require the configuration of php, apache and mysql.

Download the appropriate installation package and install it. However, for the php project, WAMP will display NOTICE information by default. How do you get rid of these warnings? Find the php.ini file first.

The path is: (my installation path is D:\wamp) D:\wamp\bin\ php5.3.10 \ php.ini, open the file.

Search in the file, error_reporting = E_ALL, which is the default, then change to: error_reporting = E_ALL & ~E_NOTICE, and then restart the apache server to ok.

This is for the new php. I am also a newbie, but now I finally know how to get rid of the warning message.

Accordingly, XAMPP,AppServ, php and ini are also modified to remove the warning message. You can raise 1 to 3.


Related articles: