Linux Stuff && Coffee

Check Apache Version

| Comments

Often security consultants or system administrators are asked to provide the Apache version, normally for security checks / patching or checking for system compatibility.

The command below will display the Apache version on the command line, note this will show the Apache version not the distro specific package version.

Apache version command:

httpd -v

Apache check version

The command httpd -v should find the Apache version on any Linux version, if you need to find out the package version number I would suggest using your distributions package manager to view the installed software and grep for apache or httpd.