Checking your IBM HTTP Server version

At times, you might need to determine the version of your IBM® HTTP Server installation.

About this task

The following information describes how you can determine the IBM HTTP Server version and provides examples. The server versions that are provided in the output below are not necessarily the versions that are distributed with WebSphere® Application Server.
[AIX Solaris HP-UX Linux Windows] Important: You can also determine the IBM HTTP Server version using the versionInfo command.

Procedure

  1. Change the directory to the installation root of the Web server. For example, it is /opt/IBM/HTTPServer on a Solaris machine.
  2. Find the subdirectory that contains the executable. The executable for IBM HTTP Server is:
    • [Windows] httpd.exe (the previous command, apache.exe is deprecated)
    • [Linux] httpd
    • [AIX] [HP-UX] [Solaris] [z/OS] apachectl
    • [iSeries] APACHEDFT
  3. Issue the command with the -v option to display the version information.
    [Windows]
    httpd.exe -v
    [Linux]
    ./httpd -v 
    [AIX] [HP-UX] [Solaris]
    ./apachectl -v 
    [iSeries] Run the STRTCPSVR command with the -v option to display the version information.
    STRTCPSVR SERVER(*HTTP) HTTPSVR(APACHEDFT '-V')
    [z/OS] Issue a command with the -v option to display the version information.
    apachectl -v

Results

[AIX Solaris HP-UX Linux Windows] The version is shown in the "Server version" field and will look something like the following:
IBM_HTTP_Server/7.0.0.0 (Windows®)
Server built: Jul 31 2008 08:41:58
or
Server version: IBM_HTTP_Server/7.0.0.0 (Unix)
Server built: Jul 31 2008 08:41:58
[iSeries] This Web server is not a part of WebSphere Application Server, but is distributed with i5/OS®. The version depends on the i/5OS release. The version is shown in the "Server version" field and will look something like the following:
V5R4:
Server version: Apache/2.0.58
Server built: Jul 14 2006 11:26:06 

V6R1 and later:
Server version: Apache/2.2.6 (i5)
Server built: Mar 11 2008 14:03:07 
[z/OS] If you use a JCL procedure to start the Web server, the banner containing the version information, similar to the following banner, will appear in the Job Log. If you issued a command from the OMVS command line, this banner will follow the command on the OMVS screen.
  • For IBM HTTP Server for WebSphere Application Server on z/OS®:
    Server version: IBM_HTTP_Server/7.0.0.0 (Unix)
    Server built: Aug 14 2008 12:16:41
    In this example an IBM HTTP Server for z/OS powered by Apache 2.0.47 is installed.
  • For HTTP Server for z/OS, which is a non-Apache server:
    ............ This is IBM HTTP Server V5R3M0  
    ............ Built on Nov 26 2005 at 12:08:21.  
    ............ Started at Mon Mar 28 18:32:33 2005 
    ............ Running as "WEBSRV", UID:0, GID:205
    
    In this example the version of HTTP Server for z/OS is v5.3.0.
If you need to contact IBM Support about a problem with your Web server for z/OS, use this banner to determine the "built" date for your z/OS Web server and include this information in your problem report.



In this information ...


Related reference

IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic    

Terms of Use | Feedback

Last updated: Oct 21, 2010 10:04:34 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=compass&product=was-nd-mp&topic=twsv_plugin_ihs
File name: twsv_plugin_ihs.html