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 examples 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 to the bin directory under the installation root of the web server.
    [AIX Solaris HP-UX Linux Windows]

    For example, /opt/IBM/HTTPServer/bin.

  2. Determine the name of the executable for the web server.
    • [Windows]httpd.exe (the previous command, apache.exe, is deprecated)
    • [Linux][AIX][HP-UX][Solaris]apachectl
  3. Issue the command with the -v option to display the version information.
    [Windows]
    httpd.exe -v
    [Linux][AIX][HP-UX][Solaris]
    ./apachectl -v 

Results

[AIX Solaris HP-UX Linux Windows]The version is shown in the Server version field and will look similar to the following:
Server version: IBM_HTTP_Server/8.5.5.22 (Win32) 
Server built:   May 17 2022 20:12:28