Determine Apache Version

How can one determine the version of Apache webserver installed on a system?

From the command line type:

/usr/local/apache2/bin/httpd -v

You’ll get results similar to this:

Server version: Apache/2.0.54
Server built:   Aug 22 2005 06:27:29

So in this case the version is 2.0.54.

You can get similar information by requesting a non-existent page from the server with your web browser. The server version will be displayed at the end of the error message.

blog comments powered by Disqus