How to Enable PHP-FPM Using WHM

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. This along with strategic caching, results in faster load times during unexpected spikes in traffic. 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.

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

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

Leave a Reply