This is a list of possible locations of the Apache error log file, depending on the versions, for quick reference.

/usr/local/apache/logs/error_log 

/usr/local/apache/log 

/var/log/apache2/error.log 

/var/log/httpd/error_log 

/var/www/vhosts/DOMAIN/statistics/logs/error_log

You can also try to find the file with

Locate error_log

You can also open /etc/httpd/conf/httpd.conf with a text editor and look for ServerRoot  ,

ServerRoot "/etc/httpd"

Then find the directory ErrorLog

ErrorLog "log/error_log"

Join the two and have the directory.

TAGS: where is the apache error file, apache log error location, apache logs, where I find, locate, find

Advertisements