Apache version can be checked easily from the command line, the command used depends on the Linux distribution. In this guide we will check the apache version on CentOS and on Ubuntu.
Apache version on CentOS :
On CentOS we use the command below :
[root@srvCentOS ~]# httpd -v Server version: Apache/2.4.6 (CentOS) Server built: Apr 2 2020 13:13:23
Apache version on Ubuntu :
You can use the following command :
[root@srvUbuntu~]# apache2ctl -v Server version: Apache/2.2.16 (Ubuntu) Server built: May 12 2020 13:58:20
Or for more information :
[root@srvUbuntu~]# apachectl -V Server version: Apache/2.2.16 (Ubuntu) Server built: May 12 2020 13:59:20 Server's Module Magic Number: 20200213:24 Server loaded: APR 1.4.8, APR-UTIL 1.5.3 Compiled using: APR 1.4.8, APR-UTIL 1.5.2 Architecture: 32-bit Server MPM: prefork threaded: no forked: yes (variable process count)
Comment installer Minikube On Rocky Linux 9
7zip: 9 Commandes utiles de les plus utilisés
Comment installer Splunk sur CentOS
dd (Disk Dump) : 7 exemples pratiques d’utilisation
Fail2Ban : How to protect Linux services