PHP-FPM Service Down Checklist for WordPress

halfbrain_logo512adminJune 13, 2026
3 lượt xem

PHP-FPM Service Down Checklist for WordPress

PHP-FPM is the service that processes PHP requests for WordPress when using Nginx. If PHP-FPM stops, crashes or points to the wrong socket, your site may show 502 Bad Gateway, blank pages or timeout errors.

Common causes

  • PHP-FPM service is stopped.
  • The wrong PHP version is configured.
  • Nginx points to the wrong PHP-FPM socket.
  • RAM is exhausted.
  • A plugin creates fatal PHP errors.
  • The PHP-FPM pool is overloaded.

Checklist

  1. Check the active PHP-FPM service name.
  2. Check PHP-FPM status.
  3. Check Nginx error log for upstream errors.
  4. Check the fastcgi_pass value in the Nginx server block.
  5. Check RAM and CPU usage.
  6. Restart PHP-FPM only after confirming the issue.
  7. Reload Nginx after config changes.
  8. Open the website and wp-admin again.
  9. Watch logs after recovery.
  10. Document the PHP version used by the site.

Final check

PHP-FPM should be active, Nginx should point to the correct socket and the WordPress site should load without new upstream errors in the log.

Checklist Type Troubleshooting
Level Intermediate
Risk Level High Risk
Estimated Time 20–45 minutes

When to Use This Checklist

Use this checklist when a WordPress site using Nginx shows 502 errors, blank pages or PHP backend failures.

Required Tools

SSH access, Nginx, PHP-FPM, WordPress files, Nginx error log, VPS terminal

Before You Start

Find the PHP version used by the site before restarting or editing PHP-FPM configuration.

Verification Steps

  1. PHP-FPM status is active.
  2. Nginx config test passes.
  3. Website loads normally.
  4. No new upstream socket error appears.

Rollback Plan

If PHP-FPM fails after a config change, restore the previous pool config or Nginx server block, then restart PHP-FPM and reload Nginx.

Common Mistakes

  • Restarting services without reading logs.
  • Using the wrong PHP version.
  • Pointing Nginx to a missing socket.
  • Ignoring RAM exhaustion.
  • Changing multiple configs at once.

Related Commands

sudo systemctl status php8.2-fpm
sudo nginx -t
sudo tail -n 100 /var/log/nginx/error.log
free -h
top
sudo systemctl restart php8.2-fpm
sudo systemctl reload nginx

Share:

Disclaimer: The guides, checklists, commands, and examples on HalfBrain.net are provided for educational and operational reference only. Server environments, hosting providers, software versions, security settings, and WordPress configurations can vary, so you should always review commands before running them on your own system. We do our best to keep the content accurate and useful, but we cannot guarantee that every command, configuration, or recommendation will fit every environment. Always back up your website, database, and server configuration before making changes. HalfBrain.net is not responsible for data loss, downtime, security incidents, misconfiguration, or other issues that may result from applying the information on this website. Use the material at your own discretion.

Leave a Reply

Your email address will not be published. Required fields are marked *