Getting Apache version installed in your Linux OS
Friday, October 19th, 2007Question: How can you determine the version of your Apache Web Server on your Linux machine?
Answer: First determine the installation directory of your apache server. You can find this by issuing this command, but basically you can do better that this one in finding the installation directory of your apache.
[darwin@myserver]$ whereis apache apache: /usr/local/apache
Once you know where the directory is we will try to execute the httpd command with the -v option
[darwin@myserver]$ /usr/local/apache/bin/httpd -v Server version: Apache/1.3.36 (Unix) Server built: Jul 18 2006 14:34:00
And there you go your Apache version is 1.3.36.
Thanks again Mark.