查看apache服务器编译时所加载的模块

[root@localhost bin]# ./apachectl -l
Compiled in modules:
  core.c
  mod_authn_file.c
  mod_authn_default.c
  mod_authz_host.c
  mod_authz_groupfile.c
  mod_authz_user.c
  mod_authz_default.c
  mod_auth_basic.c
  mod_filter.c
  mod_version.c
  prefork.c
  http_core.c
  mod_so.c

 

查看apache服务器启动时所加载的模块
[root@localhost bin]# ./apachectl -t -D DUMP_MODULES 
Loaded Modules:
 core_module (static)
 authn_file_module (static)
 authn_default_module (static)
 authz_host_module (static)
 authz_groupfile_module (static)
 authz_user_module (static)
 authz_default_module (static)
 auth_basic_module (static)
 filter_module (static)
 version_module (static)
 mpm_prefork_module (static)
 http_module (static)
 so_module (static)
 php5_module (shared)
Syntax OK