Centos/Redhat - How to check apache version on Linux
- Last updated: Nov 3, 2023
- Views: 252
- Author: Admin
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
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
Thank you all, I hope my article was of some help to you.