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.