How to view the modules added by apahce

Source: Internet
Author: User
: This article describes how to view the modules that apahce has added. For more information about PHP tutorials, see. First, go to the installation directory of apache on the command line. Note that the installation directory is used.

For example, my mac is installed with brew, so the installation file of apahce is:

/usr/local/Cellar/httpd24/2.4.18

Enter the bin directory, which should contain a write command file.

/usr/local/Cellar/httpd24/2.4.18/bin

Then run the following command in the command line:

apachectl -t -D DUMP_MODULES

The modules added to apache are listed.

As follows:

Loaded Modules: core_module (static) so_module (static) http_module (static) mpm_prefork_module (static) php5_module (shared) 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) vhost_alias_module (shared) alias_module (shared)

Meaning in brackets:

(Static): The module that apache must add.

(Shared): the modules enabled in the main configuration file of apahce.

The above describes how to view the modules that apahce has added, including the relevant content, and hope to help friends who are interested in PHP tutorials.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.