From: Jeff Trawick
MPMs must be chosen during configuration, and compiled into - the server. Compilers are capable of optimizing a lot of - functions if threads are used, but only if they know that - threads are being used.
- -To actually choose the desired MPM, use the argument
- --with-mpm=NAME with the
-
Once the server has been compiled, it is possible to
- determine which MPM was chosen by using ./httpd
- -l. This command will list every module that is compiled
- into the server, including the MPM.
The following table lists the default MPMs for various operating systems. This will be the MPM selected if you do not make another choice at compile-time.
-| Netware | |
| OS/2 | |
| Unix | |
| Unix | |
| Windows |
MPMs can be built as static modules on all platforms. A single MPM + is chosen at build time and linked into the server. The server must + be rebuilt in order to change the MPM.
+ +To override the default MPM choice, use the
+ --with-mpm=NAME option of the
+
Once the server has been compiled, it is possible to determine which MPM
+ was chosen by using ./httpd -l. This command will list every
+ module that is compiled into the server, including the MPM.
On Unix and similar platforms, MPMs can be built as DSO modules and
+ dynamically loaded into the server in the same manner as other DSO
+ modules. Building MPMs as DSO modules allows the MPM to be changed by
+ updating the
This feature is enabled using the
+ --enable-mpms-shared option of the all, all possible MPMs for the platform
+ will be installed. Alternately, a list of MPMs can be specified as the
+ argument.
The default MPM, either selected automatically or specified with the
+ --with-mpm option of the