See what modules are installed and enabled for Apache

For CentOS / RedHat -- if you want to see which modules are installed and/or enabled for Apache, run the following command:

# apachectl -M

For Debian and/or Ubuntu, you're probably running Apache2 so instead of apachtctl, it will be apache2ctl; like so:

# apache2ctl -M

Example output:

[[email protected] ~]# apachectl -M
Loaded Modules:
 core_module (static)
 mpm_prefork_module (static)
 http_module (static)
 so_module (static)
 auth_basic_module (shared)
 auth_digest_module (shared)
 authn_file_module (shared)
 authn_alias_module (shared)
 authn_anon_module (shared)
 authn_dbm_module (shared)
 authn_default_module (shared)
 authz_host_module (shared)
 authz_user_module (shared)
 authz_owner_module (shared)
 authz_groupfile_module (shared)
 authz_dbm_module (shared)
 authz_default_module (shared)
 include_module (shared)
 log_config_module (shared)
 logio_module (shared)
 env_module (shared)
 ext_filter_module (shared)
 mime_magic_module (shared)
 expires_module (shared)
 deflate_module (shared)
 headers_module (shared)
 usertrack_module (shared)
 setenvif_module (shared)
 mime_module (shared)
 vhost_alias_module (shared)
 negotiation_module (shared)
 dir_module (shared)
 actions_module (shared)
 speling_module (shared)
 alias_module (shared)
 substitute_module (shared)
 rewrite_module (shared)
 cache_module (shared)
 suexec_module (shared)
 disk_cache_module (shared)
 cgi_module (shared)
 php5_module (shared)
 ssl_module (shared)
Syntax OK
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Adding Secondary IP Addresses (CentOS/RHEL)

There are plenty of reasons you would need to add secondary IP addresss (and everyone agrees...

Adding Additional Disk Drives to CentOS 5/6

Adding a new drive to CentOS or RedHat systems. Making use of a second drive for extra space?...

Recover data from old RAID-1 Drive “linux_raid_member” File System

Recently had to migrate data from an old drive in an old server that was connected to the new...

Use rest of free space on LVM partition with new Logical Volume

I recently had to fix a few servers using 2TB hard drives. The client wanted 100GB used for the...

Powered by WHMCompleteSolution