↑ ↓ select, Enter open, Esc close

Show the Apache version and active MPM

user@server
apache2ctl -V

Prints the server version, the architecture and, under Server MPM, the active multi-processing module. The MPM determines the relevant tuning parameters and whether PHP runs as a module (prefork) or via PHP-FPM (event). The output also includes compiled-in paths such as HTTPD_ROOT and SERVER_CONFIG_FILE.

Also searched as

  • check apache version linux
  • prefork or event which mpm
  • check apache mpm
  • apache2 show version

Related one-liners

All in Apache

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.