WIN
Apache HTTP Server - Windows
Apache Software FoundationXAMPP; otherwise <install dir>\logs\
C:\xampp\apache\logs\error.log6 log locations · Windows, macOS, Linux
Apache HTTP Server logs to C:\xampp\apache\logs\error.log on Windows.
Apache HTTP Server logs to /var/log/apache2/ on macOS. 2 other macOS log locations are recorded below.
Apache HTTP Server logs to /var/log/apache2/access.log on Linux. 1 other Linux log location is recorded below.
Paths are printed exactly as Apache HTTP Server writes them. Environment variables like %LOCALAPPDATA% and $XDG_STATE_HOME are never expanded, so a path can be pasted straight into a shell. Where a path differs between installer types or shipping flavours, each one is racked as its own card below - why that happens.
C:\xampp\apache\logs\error.log/var/log/apache2//opt/homebrew/var/log/httpd//usr/local/var/log/httpd//var/log/apache2/access.log/var/log/httpd/access_log