How to Enable PHP-FPM Using WHM

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 in traffic.

PHP-FPM 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).

    1. Web Host Manager (WHM) login screen, username (root) and password fields and Login button highlighted.

      Log into WHM, as the root user.

    2. WHM search bar containing php highlighted.

      In the WHM search bar, type “php“.

    3. WHM MultiPHP Manager menu option highlighted.

      Click the MultiPHP Manager menu option.

    1. 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.

      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.

A notification will briefly appear indicating that PHP-FPM settings have been applied to the selected domain(s).

Successfully updated PHP-FPM Settings notification.

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

JB
John-Paul Briones Content Writer II

John-Paul is an Electronics Engineer that spent most of his career in IT. He has been a Technical Writer for InMotion since 2013.

More Articles by John-Paul

Was this article helpful? Let us know!