---
title: "How to Enable PHP-FPM Using WHM"
description: "To achieve seamless integration, it's crucial to have reliable PHP hosting services that support PHP-FPM. This ensures your website benefits from faster load times and is better able to handle spikes..."
url: https://www.inmotionhosting.com/support/server/php-fpm/how-to-enable-php-fpm-using-whm/
date: 2018-02-19
modified: 2024-01-31
author: "InMotion Hosting Contributor"
categories: ["PHP-FPM"]
type: post
lang: en
---

# How to Enable PHP-FPM Using WHM

To achieve seamless integration, it’s crucial to have reliable [**PHP hosting**](https://www.inmotionhosting.com/php-hosting) services that support PHP-FPM. This ensures your website benefits from faster load times and is better able to handle spikes in traffic.

[PHP-FPM](/support/server/php-fpm/php-fpm-the-future-of-php-handling/) is an improved PHP handler that uses a pool of workers (per domain) to quickly process PHP scripts. Once the script completes running, PHP-FPM provides the results to Apache to deliver to the visitor’s browser.

In this guide, you will learn the steps needed to **enable PHP-FPM through Web Host Manager (WHM)**.

**NOTE: **A [VPS](https://www.inmotionhosting.com/vps-hosting) or [Dedicated Server](https://www.inmotionhosting.com/dedicated-servers) with [root access](/support/amp/obtain-root-access/) is required to follow the steps in this guide.

1. [Log into WHM](/support/edu/whm/log-into-whm/), as the **root** user. ![Web Host Manager (WHM) login screen, username (root) and password fields and Login button highlighted.](https://www.inmotionhosting.com/support/wp-content/uploads/2018/02/whm_multiphp-manager_php-fpm_whm-root-login.png)
2. In the WHM search bar, type “*php*“. ![WHM search bar containing php highlighted.](https://www.inmotionhosting.com/support/wp-content/uploads/2018/02/whm_multiphp-manager_php-fpm_whm-search-bar-php.png)
3. Click the **MultiPHP Manager** menu option. ![WHM MultiPHP Manager menu option highlighted.](https://www.inmotionhosting.com/support/wp-content/uploads/2018/02/whm_multiphp-manager_php-fpm_whm-multi-php-manager.png)

## Provision PHP-FPM

**NOTE:** You may notice messages warning you that the necessary configuration to enable PHP-FPM is not installed. If so, follow the additional instructions for provisioning the appropriate modules and extensions for PHP-FPM compatibility.
![WHM MultiPHP Manager PHP-FPM page with messages highlighted.](https://www.inmotionhosting.com/support/wp-content/uploads/2018/02/whm_multiphp-manager_php-fpm_multiphp-manager-php-fpm-messages.png)

1. Click the **Install** button. ![WHM MultiPHP Manager PHP-FPM Install button highlighted.](https://www.inmotionhosting.com/support/wp-content/uploads/2018/02/whm_multiphp-manager_php-fpm_whm-multiphp-manager-php-fpm-install-button.png)
2. Once the new window/tab loads the EasyApache 4 provisioning *Review* page, confirm the changes to be made to your server, to enable PHP-FPM. ![EasyApache 4 Provision Review page.](https://www.inmotionhosting.com/support/wp-content/uploads/2018/02/whm_multiphp-manager_php-fpm_ea4-provision-review.png)
3. Then, scroll down and click on the **Provision** button. ![EasyApache 4 Provision button highlighted.](https://www.inmotionhosting.com/support/wp-content/uploads/2018/02/whm_multiphp-manager_php-fpm_ea4-provision-button.png) A notification will appear which indicates the provisioning process completed successfully. ![EasyApache 4 provision complete successful message highlighted.](https://www.inmotionhosting.com/support/wp-content/uploads/2018/02/whm_multiphp-manager_php-fpm_ea4-provision-complete-message.png)
4. Close the window/tab, then click on the * ***Refresh** button. This will allow WHM to detect the provisioned modules for PHP-FPM and the messages should no longer appear. ![WHM MultiPHP Manager PHP-FPM message Refresh button.](https://www.inmotionhosting.com/support/wp-content/uploads/2018/02/whm_multiphp-manager_php-fpm_multiphp-manager-refresh-button.png)
5. **NOTE:** If these notices do not appear, you may proceed to the next step. ![WHM MultiPHP Manager PHP-FPM page without messages.](https://www.inmotionhosting.com/support/wp-content/uploads/2018/02/whm_multiphp-manager_php-fpm_multiphp-manager-php-fpm-installed.png)
6. Under the section labeled *Set PHP Version per Domain* find the domain you want to enable PHP-FPM for and click the checkbox to the left of it. Then, select **On** from the *PHP-FPM* drop-down menu and click the **Apply** button. ![Set PHP Version per Domain with checkbox for domain: example.com selected, drop-down menu for PHP-FPM On option selected, and Apply button highlighted.](https://www.inmotionhosting.com/support/wp-content/uploads/2018/02/whm_multiphp-manager_php-fpm_set-php-fpm-per-domain.png)
7. A notification will briefly appear indicating that PHP-FPM settings have been applied to the selected domain(s). ![Successfully updated PHP-FPM Settings notification.](https://www.inmotionhosting.com/support/wp-content/uploads/2018/02/whm_multiphp-manager_php-fpm_successfully-updated-php-fpm-settings.png)

**Congratulations!** Now you know how to enable PHP-FPM for your cPanel users’ websites.
