Apache Modules

Apache modules notes. How the check installed modules

Published: Monday, 5 April 2004

Installed modules

Find out which modules are available and installed. Apache may come installed with a variety of modules. To find out what is installed on your host, run the following:

$ pwd
/usr/local/apache/bin
$ ./httpd -l
Compiled-in modules:
  http_core.c
  mod_env.c
  mod_log_config.c
  mod_mime.c
  mod_negotiation.c
  mod_status.c
  mod_include.c
  mod_autoindex.c
  mod_dir.c
  mod_cgi.c
  mod_asis.c
  mod_imap.c
  mod_actions.c
  mod_userdir.c
  mod_alias.c
  mod_rewrite.c
  mod_access.c
  mod_auth.c
  mod_so.c
  mod_setenvif.c
  mod_jk.c
suexec: disabled; invalid wrapper /usr/local/apache/bin/suexec

There is a warning that suexec is disabled, but it is usually not required.

If you don’t have shell access to the server, you can upload a PHP script with the following contents:

<?
  phpinfo();
?>

Then search for “Loaded Modules” in the output of that page, and you should see the list of apache modules.