Install and uninstall mod_mpm_itk in apache2

apache2-mpm-itk (just mpm-itk for short) is an MPM (Multi-Processing Module) for the Apache web server. mod_mpm_itk which will allows you to run each of your vhost under a separate user identifier (UID) and group identifier (GID). Use this simple steps to Install and uninstall mod_mpm_itk in apache2.

The scripts and configuration files for one vhost no longer have to be readable for all the other vhosts.

mpm-itk is based on the traditional prefork MPM, which means it’s non-threaded; in short, this means you can run non-thread-aware code (like many PHP extensions) without problems. On the other hand, you lose out to any performance benefit you’d get with threads, of course; you’d have to decide for yourself if that’s worth it or not. You will also take an additional performance hit over prefork since there’s an extra fork per request.

install mod_mpm_itk

MPM ITK installation option is available in the following cpanel vesrion “All builds of cPanel & WHM version 11.52 or later

MPM ITK manual installation in cpanel

Install only if you know the MPM (Multi-Processing Module) and MPM ITK module is compatible packages.


EasyApache 4, Apache 2.4, the MPM Prefork, and mod_cgi.

The MPM ITK module is not compatible with the following modules:

Mod Ruid2
Mod suPHP
CloudLinux's™ PHP Selector feature
cPanel's Leech Protection feature (Home >> Security >> Leech Protection)


Install the MPM ITK Apache module with the EasyApache 4 interface, or use yum.

You must manually uninstall MPM Worker and install MPM Prefork in order for the MPM ITK module work correctly.

yum shell
remove ea-apache24-mod_mpm_worker
remove ea-apache24-mod_cgid
install ea-apache24-mod_mpm_prefork
install ea-apache24-mod_cgi

uninstall the MPM ITK module

yum shell
remove ea-apache24-mod_mpm_prefork
remove ea-apache24-mod_cgi
install ea-apache24-mod_mpm_worker
install ea-apache24-mod_cgid
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Prevent users Creating Certain Domains

How to prevent user creating certain domains You can use cPanel & WHM to prevent users...

Enable SSH and WHM login Alert emails

We can enable SSH and WHM login alerts to your email accounts. For security reason, it is...

Email server troubleshooting

Email / Exim server troubleshooting techniques. You can use the following email server...

Powered by WHMCompleteSolution