How to turn off notice reporting in xampp?

Member

by dana , in category: Third Party Scripts , 8 months ago

How to turn off notice reporting in xampp?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

by cali_green , 8 months 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.