How to install Apache modules

apache-2.2mac-osx

I have installed Apache 2.2 on my Mac OS X 10.4 machine, from source. Now, I want to download/add/install/enable modules. For example, I'd like libphp5, mod_rewrite, etc. How would I go about finding and adding these modules to my installation?

Best Answer

You have to use apxs.

apxs is a tool for building and installing extension modules for the Apache HyperText Transfer Protocol (HTTP) server. This is achieved by building a dynamic shared object (DSO) from one or more source or object files which then can be loaded into the Apache server under runtime via the LoadModule directive from mod_so.

I'm sure there are a lot of howtos depending on which module you want to install.

Related Topic