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.
Important: You
can also determine the IBM HTTP Server version using the
versionInfo command.
Procedure
- Change to the
bin directory under the installation root of the web
server.
For example, /opt/IBM/HTTPServer/bin.
- Determine the name of the executable for the web server.
httpd.exe (the previous command, apache.exe, is deprecated)
![[Linux]](../images/nglinux.svg)
![[AIX]](../images/ngaix.svg)
![[HP-UX]](../images/nghpux.svg)
apachectl
APACHEDFT
- Issue the command with the -v option to display the version
information.
httpd.exe -v
![[IBM i]](../images/ngibmi.svg)
Run the STRTCPSVR command with the
-v option to display the
version information.
STRTCPSVR SERVER(*HTTP) HTTPSVR(APACHEDFT '-V')
Results
![[AIX Solaris HP-UX Linux Windows]](../images/ngdist.svg)
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
![[IBM i]](../images/ngibmi.svg)
This web server is not a part of WebSphere Application Server, 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 similar to 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