How to Check the Apache Version on a Linux Dedicated cPanel Server

Quick Checking Your Apache Version Number

If you need to check the Apache version number installed on your server, you can do so in one of a couple ways. In the default configuration, Apache will be set to display its version information on most of you error pages. This means the easiest way to check your version number is to visit a link to a file that does not actually exist, such as: https://domain.com/unknownfile.txt.

If for whatever reason, this does not show you your current Apache version, you can also check using the command line.

 

Checking Your Apache Version Using the Command Line

To check your server’s current version of Apache using the command line, please refer to the following steps:

  1. First, log in to your server as root user.
     
  2. Next, enter the following command:
     
    root@mybox [~]# /usr/local/apache/bin/httpd -v

    Or simply:

    root@mybox [~]# httpd -v

    This will return a short response that includes both the current version number as well as the date the binary was built. It should look something like this:

    Server version: Apache/2.2.16 (Unix)
    Server built:   Oct  3 2010 11:41:41

And with that, you should now be able to check the installed version of apache on your server.

 

Need More Personalized Help?

If you have any further issues, questions, or would like some assistance checking on this or anything else, please reach out to us from your my.hivelocity.net account -> Support and provide your server credentials within the encrypted field for the best possible security and support.

If you are unable to reach your my.hivelocity.net account or if you are on the go, please reach out from your valid my.hivelocity.net account email to us here at: support@hivelocity.net. We are also available to you through our phone and live chat system 24/7/365.

 

Additional Links:

Looking for more information on Apache? Search our Knowledge Base!  

In need of more great content? Interested in cPanel, Private Cloud, or Colocation? Check out our recent posts for more news, guides, and industry insights!

Share on Twitter
Share on Facebook