查看apache httpd server中加载了哪些模块

说明:

  有的时候,需要查看当前apache中都加载了哪些模块,通过以下命令进行查看

[root@hadoop1 httpd-2.4.39]# bin/apachectl -t -D DUMP_MODULES
Loaded Modules:
 core_module (static)
 so_module (static)
 http_module (static)
 mpm_event_module (static)
 authn_file_module (shared)
 authn_core_module (shared)
 authz_host_module (shared)
 authz_groupfile_module (shared)
 authz_user_module (shared)
 authz_core_module (shared)
 access_compat_module (shared)
 auth_basic_module (shared)
 reqtimeout_module (shared)
 filter_module (shared)
 mime_module (shared)
 log_config_module (shared)
 env_module (shared)
 headers_module (shared)
 setenvif_module (shared)
 version_module (shared)
 unixd_module (shared)
 status_module (shared)
 autoindex_module (shared)
 cgid_module (shared)
 dir_module (shared)
 alias_module (shared)
 php7_module (shared)

备注:如果配置了PATH则可以执行上述命令。

文档创建时间:2019年7月3日15:22:44

猜你喜欢

转载自www.cnblogs.com/chuanzhang053/p/11126690.html