↑ ↓ select, Enter open, Esc close

Show all PHP-FPM services and their status

user@server
systemctl list-units --type=service --all 'php*-fpm*' 'plesk-php*-fpm*'

Shows all systemd services whose name matches PHP-FPM, with load and active state. Debian names them php8.2-fpm, Plesk uses plesk-php83-fpm. A service in the failed state explains 502 or 503 errors on every site using that PHP version.

Note: systemctl status plesk-php83-fpm shows details and the latest log lines for a service.

Also searched as

  • php-fpm not running
  • which php-fpm versions are running
  • check php-fpm status

Related one-liners

All in PHP

Read first, then run.

The commands on myline.de act directly on servers, files and databases. A wrong path or placeholder can delete data irreversibly or make a server unreachable.

  • All commands are provided without warranty and are not tested on every system.
  • Understand what a command does before running it, and check every placeholder.
  • Make a backup first and, if possible, try it on a test system.
  • You run commands at your own risk. Liability for damages is excluded to the extent permitted by law.