How to view the modules that have been added to the APAHCE

Source: Internet
Author: User
first, on the command line, go to Apache's installation directory and note that it is the installation directory.

For example, my Mac is installed with brew, so APAHCE's installation files are in:

/usr/local/cellar/httpd24/2.4.18

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

/usr/local/cellar/httpd24/2.4.18/bin

Then execute at the command line:

Apachectl-t-D Dump_modules

It will list the modules that Apache has already added.

As shown below:

Loaded modules:core_module (Static) So_module (static) Http_module (static) Mpm_prefork_module (Static) Php5_module (Sha Red) 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)

The meaning in parentheses:

(static): The module that Apache must add

(shared): Apahce the module that is open in the master configuration file.

The above describes how to view Apahce has been added to the module, including aspects of the content, I hope that the PHP tutorial interested in a friend helpful.

  • 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.