Forum Moderators: phranque
Can anyone give me some info on how to add/enable modules in Apache 2.2.x? I did the --enable_module=#*$!x in the configure but that doesn't seem to work and the help file is buggy -- some of it's conventions are not valid (like using spaces to delineate specified modules).
Thanks for any help!
I'm using this this to configure under Mac OS X:
./configure \
--with-mpm=prefork \
--enable-layout=ServLog \
--enable-mods-shared=all \
--with-z=/darwinports \
--with-ssl=/darwinports \
--enable-ssl \
--enable-dav \
--enable-cache \
--enable-proxy \
--enable-shared \
--enable-logio \
--enable-suexec \
--disable-static \
--disable-unique-id \
--disable-ipv6# --enable-auth-ldap
A short introduction can be found here: [httpd.apache.org...]
As to mod_php, that comes from PHP - not Apache; so if you want PHP you'll have to download and install that too.
--enable-mods-shared=all will also mean that you'll have to add a few extra configuration files in conf/extra : dbd , rewrite
[edited by: BjarneDM at 6:44 am (utc) on Sep. 25, 2006]
I've figured out that there are a number of modules included in the source dist, but I can't find a clear list of those modules and their functions. Obviously there are other modules that are external, but modules.apache.org is confusing... Any additional resources would be helpful.
A complete list of the modules included with the source can be found here:
[httpd.apache.org...]
There are a lot of 3rd party modules. Those are the ones found at [modules.apache.org...] - not the ones distributed with the Apache source. They have to be added to Apache in the ways specified by the module authors.
The options to ./configure are explained here:
[httpd.apache.org...]
After you've installed Apache 2.2, you can get a list of the
- compiled in modules : httpd -l
- loaded modules : httpd -M
If you are missing any, you'll have to enable them explicitly as parameters to .configure
Also, when you start Apache, take a good notice of the output from apachectl start and observe carefully what's written in the error_log file.