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.
- 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
Don’t see what you’re looking for? Use the search bar at the top to search our entire Knowledge Base.
The Hivelocity Difference
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.