+

Search Tips   |   Advanced Search

Checking the IBM HTTP Server version

At times, we might need to determine the version of the IBM HTTP Server installation.

The following information describes how we can determine the IBM HTTP Server version and provides examples. The server versions provided in the output examples are not necessarily the versions that are distributed with WebSphere Application Server.

(dist) Important: We can also determine the IBM HTTP Server version using the versionInfo command.

  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 containing the executable. The executable for IBM HTTP Server is:

    • httpd.exe (the previous command, apache.exe is deprecated)

    • httpd

    • (zos) apachectl

    • (iseries) APACHEDFT

  3. Issue the command with the -v option to display the version information.

      httpd.exe -v

      ./httpd -v

      ./apachectl -v

    (iseries) Run the STRTCPSVR command with the -v option to display the version information.

      STRTCPSVR SERVER(*HTTP) HTTPSVR(APACHEDFT '-V')

    (zos) Issue a command with the -v option to display the version information.

      apachectl -v


Results

(dist) 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 WAS, but is distributed with IBM i. The version depends on the i/5OS release. The version is shown in the "Server version" field and will look something like the following:

i 6.1:
Server version: Apache/2.2.11 (i5)   Server built:   Jul 21 2009 19:24:31   i7.1:
Server version: Apache/2.2.11 (i5)     Server built:   Oct  7 2009 21:04:27  

(zos) If we 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 we issued a command from the OMVS command line, this banner will follow the command on the OMVS screen.

If we need to contact IBM Support about a problem with the web server for z/OS, use this banner to determine the "built" date for the z/OS web server and include this information in the problem report.


Related tasks

  • plugin-cfg.xml file

    versionInfo command