Apache 2 mpm-itk and mpm-prefork modules together

estus asked:

Here is Apache 2 configuration:

/etc/apache2/mods-enabled/mpm_itk.load

# Depends: mpm_prefork
LoadModule mpm_itk_module /usr/lib/apache2/modules/mpm_itk.so

/etc/apache2/mods-enabled/mpm_prefork.load

# Conflicts: mpm_event mpm_worker mpm_itk
LoadModule mpm_prefork_module /usr/lib/apache2/modules/mod_mpm_prefork.so

The comments don’t add much clarity – mpm-prefork conflicts with mpm-itk, but mpm-itk depends on it?

When /etc/apache2/mods-enabled/mpm_itk.load is removed, there is an error:

AH00534: apache2: Configuration error: No MPM loaded.

I’m not sure what’s going on there. Is mpm-itk broken or does it really depend on mpm-prefork?

Is it bad that both modules are loaded? Which of these modules is used by Apache in practice and why? How to make Apache use another one?

My answer:


You can only use one MPM. So the comment doesn’t make any sense. You might consider reporting the problem to the package maintainer.


View the full question and answer on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.