Hack 79. Display the modules inside Apache

Display the modules compiled inside Apache

# httpd -l

Compiled in modules:
core.c
prefork.c
http_core.c
mod_so.c 

Display both static and dynamic module loaded by Apache

When you pass option -l, to httpd, it will display only the static modules. Passing option -M, will display both static and shared modules as shown below.

# httpd –M

Loaded Modules:
core_module (static)
mpm_prefork_module (static)
http_module (static)
so_module (static)
auth_basic_module (shared)
auth_digest_module (shared)
authn_file_module (shared)
authn_alias_module (shared)
Syntax OK 

Comments on this entry are closed.