Tuesday, 30 July 2013

Getting Apache information on Windows

You can get information from Apache by opening a Command Prompt window (Start➪Programs➪Accessories➪Command Prompt), changing to the bin directory in the directory where Apache is installed (such as cd C:\ Program Files\Apache Group\Apache2\bin), and accessing Apache with options. For example, to find out which version of Apache is installed, type the following in the command prompt window:

apache –v 

To find out what modules are compiled into Apache, type

apache –l 

You can also start and stop Apache directly, as follows:

apache -k start 
apache -k stop 

You can see all the options available by typing the following:

apache -h

No comments:

Post a Comment