Centos/Redhat - How to check apache version on Linux

Centos/Redhat - How to check apache version on Linux

Hello colleagues.

Today the  Apache web server is one of the most popular and widely used HTTP servers in the world. However, sometimes there is a case when you need to know the version of apache running on a particular server. Before checking, make sure the following commands are run as root or sudo. We will check the installed version of the Apache web server on the  Centos distribution.

 

To check the installed version of the Apache web server on your Linux server, you need to run the following command:

$. sudo httpd -v

centos apache version

As a result, we see that the version of the installed web server is Apache/2.4.37


 

If this information is not enough for us and we still want to see the Apache version number and compilation options, then we need to use the same -V flag, but only in upper case.

$. sudo httpd -V

centos apache version


 

Thank you all, I hope my article was of some help to you.

SIMILAR ARTICLES

How to Install Galera Cluster Manager on Centos

How to Install Galera Cluster Manager on Centos

PROGRAMS
Apache - How to find web server log files: access log, error log

Apache - How to find web server log files: access log, error log

PROGRAMS
Apache - Process Management: start, stop, reload

Apache - Process Management: start, stop, reload

PROGRAMS