1.

How To Check The Version Of Running Apache Web Server?

Answer»

There is multiple ways to find this but more accurately would be;

  • Login to web server
  • Go to apache instance and bin folder
  • EXECUTED httpd with -v to get the version details.

[root@lab sbin]# ./httpd -v

Server version: Apache/2.2.15 (UNIX)

Server built: JUL 18 2016 15:24:00

[root@lab sbin]#

ALTERNATIVELY, you can also use the rpm command to check the installed version:

[root@lab ~]# rpm -qa |grep httpd

httpd-2.2.15-54.el6.centos.x86_64

httpd-tools-2.2.15-54.el6.centos.x86_64

[root@lab ~]#

There is multiple ways to find this but more accurately would be;

[root@lab sbin]# ./httpd -v

Server version: Apache/2.2.15 (Unix)

Server built: Jul 18 2016 15:24:00

[root@lab sbin]#

Alternatively, you can also use the rpm command to check the installed version:

[root@lab ~]# rpm -qa |grep httpd

httpd-2.2.15-54.el6.centos.x86_64

httpd-tools-2.2.15-54.el6.centos.x86_64

[root@lab ~]#



Discussion

No Comment Found