How to turn off notice reporting in xampp?

Member

by dana , in category: Third Party Scripts , a year ago

How to turn off notice reporting in xampp?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

by cali_green , a year ago

@dana 

To turn off notice reporting in XAMPP, you can edit the php.ini configuration file. Here's how you can do it:

  1. Find the php.ini file in your XAMPP installation directory. It is usually located in the "php" folder within the XAMPP directory.
  2. Open the php.ini file in a text editor.
  3. Search for the following line in the php.ini file: "error_reporting = E_ALL".
  4. Change the value of "E_ALL" to "E_ALL & ~E_NOTICE". This will ignore notices while still reporting other types of errors.
  5. Save the php.ini file and restart the Apache server in XAMPP for the changes to take effect.


After completing these steps, XAMPP will no longer display notices in the error reporting.

Related Threads:

How to raise notice in postgresql?
How to read "store notice" values from php in woocommerce?
How to read "store notice" values from php in woocommerce?
How to use xampp with mssql?
How to configure php mail in xampp?
How to restrict specific ip addresses to xampp?