Differences between revisions 5 and 6
Revision 5 as of 2007-07-04 20:38:13
Size: 1248
Editor: pctony
Comment: Flattening Project
Revision 6 as of 2009-09-20 22:13:33
Size: 1250
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:
It can sometimes be useful to build Apache with all available modules as shared objects. In this way, one can easily enable just those modules needed after build time. The [http://httpd.apache.org/docs/2.2/programs/configure.html#optionalfeatures documentation for the configure script] used to build Apache lists {{{--enable-mods-shared}}} as an option. It also mentions that the keyword "all" can be used with this option. It can sometimes be useful to build Apache with all available modules as shared objects. In this way, one can easily enable just those modules needed after build time. The [[http://httpd.apache.org/docs/2.2/programs/configure.html#optionalfeatures|documentation for the configure script]] used to build Apache lists {{{--enable-mods-shared}}} as an option. It also mentions that the keyword "all" can be used with this option.

How to build Apache with all available modules

It can sometimes be useful to build Apache with all available modules as shared objects. In this way, one can easily enable just those modules needed after build time. The documentation for the configure script used to build Apache lists --enable-mods-shared as an option. It also mentions that the keyword "all" can be used with this option.

However, 'all' in this case doesn't really mean all. In particular, these modules aren't built by a simple --enable-mods-shared=all

  • mod_ldap
  • mod_authnz_ldap
  • mod_ssl
  • mod_cache
  • mod_disk_cache
  • mod_file_cache
  • mod_mem_cache
  • mod_proxy (though in this case, specifying "all proxy" will build all of the proxy provider modules)
  • mod_authn_alias
  • mod_charset_lite
  • mod_dav_lock

To build all modules then, one might use:

./configure \
--with-ldap \
--enable-mods-shared="all ssl ldap cache proxy authn_alias mem_cache file_cache authnz_ldap charset_lite dav_lock disk_cache"

This doesn't cover suexec or the developer specific or platform specific modules.

ConfigAllMods (last edited 2009-09-20 22:13:33 by localhost)