Get running Apache version via shell

You can get the Apache version currently running on  your webserver by the following shell commands.

Get Apache version on CentOS / Redhat

$> /usr/sbin/httpd -v

Get Apache version on Ubuntu

$> /usr/sbin/apache2 -v

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *

 

This site uses Akismet to reduce spam. Learn how your comment data is processed.