Hack 79. Display the modules inside Apache
by Ramesh
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
当前内容版权归 Ramesh Natarajan 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 Ramesh Natarajan .