If you have previously enabled PHP errors logging, your log will be placed in the public_html/error_log file. You can reach it from the File Manager. The content of the file will look similar to this:

What if log_errors is enabled, but error_log file does not exist? What is the file is empty?

Only PHP errors, like Warning, Deprecated, Notice, etc. are saved in the log. Errors like 503, Error establishing database connection and similar are not PHP errors, so they will not be stored.

Also, errors start being added since the moment you enabled error logging. Previous errors will not be added to the log.

If your error_log file is empty or does not exist, it means that there are no PHP errors on your website 💪


Did this answer your question?