Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've got Apache installed on Windows. The folder name indicates that it's Apache 2.2, but I want to see the full version number. How can I do that?

share|improve this question
up vote 3 down vote accepted

The version will be published in the log specified under ErrorLog within your configuration. (/var/log/httpd/error_log is a standard location in many Linuxes.)

Additionally, you should be able to execute the httpd binary equivalent in windows with -v.

Example from Linux:

# /usr/local/apache/bin/httpd -v
Server version: Apache/1.3.41 (Unix)
Server built:   Sep 10 2009 10:42:36
share|improve this answer
    
How is this the accepted answer if the question clearly states that Apache is installed on Windows? The answer from Bradley Forney below is better. – Robin van Baalen May 10 at 11:44

From CMD:

"C:\Program Files\[Apache directories]\bin\httpd.exe" -v

Example:

C:\Documents and Settings\User>"c:\Program Files\Apache Software Foundation\Apache2.2\bin\httpd.exe" -v
Server version: Apache/2.2.21 (Win32)
Server built:   Sep  9 2011 10:26:10
share|improve this answer

Enable server-status

The server-status page will also show this, in addition to performance information. It starts with something like this:

Apache Server Status for localhost

Server Version: Apache/2.2.14 (Win32) PHP/5.3.1

Server Built: Sep 28 2009 22:41:08

See Detailed Instructions for server-status on another question.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.