I just installed xampp, getting errors all over the place. Want to get rid of error handling. It's only annoying errors to do with my variables.
I'm not sure where to find php.ini, it doesn't exist in my C:\xampp\apache
To turn off or disable error reporting in PHP, set the value to zero. For example, use the code snippet: <?
You can put an @ in front of your function call to suppress all error messages.
To display all errors, including parsing errors, in xampp, make the following changes to the php. ini example file and restart the apache server. In the PHP. ini file, set the display errors directive to turn on.
Inside your php.ini
make sure that you have display_errors
to Off. From what I understand if you set display_errors to Off then the error_reporting directive doesn't need to change.
Example:
error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR
display_errors = Off
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With