Apache Log Files To examine log files for errors while troubleshooting Apache on a Fedora, CentOS, or RedHat server, examine the /var/log/httpd/error_log file. If you are troubleshooting a Debian or Ubuntu derived system, examine /var/log/apache2/error. log for errors using a tool like tail or less .
https://ibmimedia.com/explore/apache-error