All Collections
PHP errors
Where can I find error logs for my website?
Where can I find error logs for my website?
Locating a log file with PHP errors
Updated over a week ago

If you have previously enabled PHP errors logging, your error log file will be placed in the .logs folder. You can reach it from the File Manager:

Your website's error log file name will be composed of “error_log_” and the name of the domain or subdomain. The content of the file will look similar to this:

What if error logging is enabled, but the error_log file does not exist? What if 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 registered from 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?