Your Webhosting Questions
Answered by the Webhosting Experts

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:

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.


Popular Links

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

Interested in more articles about Operating Systems? Navigate to our Categories page using the bar on the left or check out these popular articles:

Popular tags within this category include: Linux, Windows, Apache, CentOS, Debian, Fedora, RedHat, and more.

Don’t see what you’re looking for? Use the search bar at the top to search our entire Knowledge Base.


The Hivelocity Difference

Seeking a better Dedicated Server solution? In the market for Private Cloud or Colocation services? Check out Hivelocity’s extensive list of products for great deals and offers.

With best-in-class customer service, affordable pricing, a wide-range of fully-customizable options, and a network like no other, Hivelocity is the hosting solution you’ve been waiting for.

Unsure which of our services is best for your particular needs? Call or live chat with one of our sales agents today and see the difference Hivelocity can make for you.

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 account and provide your server credentials within the encrypted field for the best possible security and support.

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

Tags +