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:
- First, log in to your server as root user.
- Next, enter the following command:
root@mybox [~]# /usr/local/apache/bin/httpd -v
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.
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:
- How to Open, Edit, Move, and Copy a File in Linux
- How to Change a Password in Linux
- How to Check if Your Linux Server is Under DDoS Attack
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.