This topic is locked

Logging error reporting to file or database

10/14/2024 7:06:37 PM
PHPRunner General questions
H
headingwest author

Hi all,
For my site I don't want to show detailed error messages on screen as this is a security risk.
Is there any way to log them to file or into the database?
Thanks.

Sergey Kornilov admin 10/14/2024

These are PHP settings. In php.ini file you can configure both supressing error messages and also writing them to the log file.