Apache log analysis for WordPress troubleshooting

apachewordpresstroubleshootingops

Logs are the fastest way to stop guessing. This guide covers the two files that matter and a simple workflow to go from “something’s wrong” to “Apache, PHP-FPM, or WordPress.”

The two files that matter

What to look for

Fast workflow

  1. Find the timestamp of the failure
  2. Identify the path or URL
  3. Follow the chain: Apache → PHP-FPM → WordPress/plugin

FAQ

Apache error log shows “proxy: error” or “connection refused”—what next?
PHP-FPM is likely down or Apache is pointing at the wrong socket. See PHP-FPM socket mismatch and WordPress 500 triage.

Where do I find PHP-FPM errors?
Location depends on distro and pool config; often under /var/log or in the pool’s slowlog/error config. Check the pool file for your site’s PHP-FPM pool.