IBM Support

How To Determine The Version Of Apache HTTP Server On The IBM i?

Question & Answer


Question

How to determine the version of the Apache HTTP Server base runtime on the IBM i OS?

Answer

From a 5250 emulation session CL command line, execute the following command:

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

The above command will display verbose information on the IBM i Apache HTTP Server base runtime version, build, and compilation attributes via a terminal session. Example output is included below:

Server version: Apache/2.4.20 (IBM i)    
Server built:   Nov  7 2016 01:30:29    
Server's Module Magic Number: 20120211:57
Server loaded:  APR 1.5.2, APR-UTIL 1.5.4
Compiled using: APR 1.5.2, APR-UTIL 1.5.4
Architecture:   128-bit                  
Server MPM:     worker                  
  threaded:     yes (fixed thread count)      
Server compiled with....                        
 -D APR_HAS_SENDFILE                            
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_FCNTL_SERIALIZE                      
 -D APR_USE_PTHREAD_SERIALIZE                    
 -D APR_PROCESS_LOCK_IS_GLOBAL                  
 -D APR_HAS_OTHER_CHILD                          
 -D DYNAMIC_MODULE_LIMIT=256                    
 -D HTTPD_ROOT="/QIBM/UserData/HTTPA"            
 -D AS400                                                  
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_ERRORLOG="logs/error_log"              
 -D AP_TYPES_CONFIG_FILE="conf/mime.types"        
 -D SERVER_CONFIG_FILE="conf/httpd.conf"          
Press ENTER to end terminal session.              

To exit the terminal session and return to the CL command line, press ENTER.
Base Apache HTTP Server runtime version by IBM i OS VRM.  Security and defect issues are resolved by IBM i PTFs on top of the Apache HTTP Server base runtime version.

IBM i 7.5 - Server version: Apache/2.4.53 (IBM i)
IBM i 7.4 - Server version: Apache/2.4.53 (IBM i)
IBM i 7.3 - Server version: Apache/2.4.20 (IBM i)
IBM i 7.2 - Server version: Apache/2.4.20 (IBM i)
IBM i 7.1 - Server version: Apache/2.2.11 (i5) with large file support

[{"Type":"MASTER","Line of Business":{"code":"LOB68","label":"Power HW"},"Business Unit":{"code":"BU070","label":"IBM Infrastructure"},"Product":{"code":"SWG60","label":"IBM i"},"ARM Category":[{"code":"a8m0z0000000CGqAAM","label":"IBM i HTTP Server"}],"ARM Case Number":"","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"All Versions"}]

Document Information

Modified date:
12 February 2025

UID

nas8N1020026