View the current system apache version

  
        

This article uses him to view the apache version.

Operating System: CentOS

[tdtc100@bogon ~]$ apachectl -v If it appears: 
[tdtc100@bogon ~]$ [tdtc100@bogon ~]$ apachectl -v- Bash: [tdtc100@bogon: command not found then use: apachectl file location (this: /opt/httpd/bin/) to execute 
[tdtc100@bogon ~]$ /opt/httpd/bin/apachectl -v Show httpd version 
Server version: Apache/2.2.27 (Unix) Server built: Apr 5 2014 00:42:59
Copyright © Windows knowledge All Rights Reserved