How to Enable PHP-FPM for Multiple Domains in WHM

  Uncategorized

Introduction

PHP-FPM (FastCGI Process Manager) is an alternative PHP handler designed to improve website performance, reliability, and resource management. Enabling PHP-FPM allows PHP to handle high traffic more efficiently by managing worker processes intelligently.

Prerequisites

Before proceeding, ensure the following:

  1. Root-level access to WHM
  2. MultiPHP Manager enabled on the server
  3. Domains already added and visible in WHM
  4. Understanding that enabling PHP-FPM may change PHP handling behavior for the selected domains

Procedure

  1. Log in to WHM as the root user.
  2. Navigate to Home → Software → MultiPHP Manager.
  3. Click on the User Domain Settings tab.
  4. Locate the domains for which PHP-FPM needs to be enabled.
  5. Toggle the PHP-FPM switch to On for each required domain.
  6. Changes are applied automatically.

Conclusion

Enabling PHP-FPM through WHM is a simple and effective way to enhance PHP performance across multiple domains. Once enabled, websites can benefit from better request handling, improved speed, and more efficient resource usage. After activation, it is recommended to monitor website performance and error logs to ensure compatibility and stability.

If any application issues arise, PHP-FPM can be disabled per domain just as easily from the same interface.

LEAVE A COMMENT