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

cPHulk Brute Force Protection

WHM/cPanel has a service, protected from Brute Force attack, which is called “cPHulk Brute Force...

Enable SSH key authorized login without root password

You need to generate SSH Key ( the private key )on your cpanel server and then update remote...

How can I Redirect URLs in cPanel

Login your cpanel 1. Click the Redirects button on the front page under the “domains” 2. Enter...

Enable Custom php.ini for Fast CGI

With fast-cgi, custom php.ini needs to be in the cgi-bin folder. 1) Move php.ini to cgi-bin...

ConfigServer Firewall CSF installation

ConfigServer firewall is a popular linux firewall security suite. It is easy to install, flexible...

Powered by WHMCompleteSolution