Error Reporting

I am currently adjusting my php.ini file for Production on my server.

In Dev, I had these settings…

error_reporting = E_ALL
display_errors = On
display_startup_errors = Off
log_errors = On

Then for Production, I initially changed things to this…

;error_reporting = E_ALL
display_errors = Off
display_startup_errors = Off
log_errors = On

However, after thinking about things, it seems to me that I still want to leave error_reporting = E_ALL uncommented, because it would be helpful for error logging.

So now I have…

error_reporting = E_ALL
display_errors = Off
display_startup_errors = Off
log_errors = On

What do you think?

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.