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?
Tell me more
×
Server Fault is a question and answer site for
professional system and network administrators. It's 100% free, no registration required.
|
You have to use apxs.
I'm sure there are a lot of howtos depending on which module you want to install. |
|||
|
|
|
The simplest way is by using the 'a2enmod' command from the command line. That will enable modules for you, and a2dismod to remove them. For the PHP modules, you may need a different solution - compiling it first, for example. But rewrite and several others will work happily with the above commands. |
|||||
|