Introduction
This guide explains how to disable the cPanel PHP FPM service.
This would only be necessary if:
- You are instructed to do so by cPanel Support
- You find that Webmail or some other cPanel specific service is slow
- You find max_children errors in the log /usr/local/cpanel/logs/php-fpm/error.log.
IMPORTANT: The cPanel PHP FPM service is not the service that allows end users to make use of PHP FPM on their websites. The cPanel PHP FPM service is used exclusively for services such as WHM, Webmail, and cPanel. If you are actually looking for instructions about how to disable Apache PHP FPM for end user's websites please see one of the following articles instead:
Procedure
1. Login to WHM as the root user.
2. Navigate to: "Home »Service Configuration »Service Manager."
3. Scroll down to the service named "PHP-FPM service for cPanel Daemons."
4. Remove any blue checkboxes from that service to disable it.
5. Scroll to the bottom.
6. Click "Save."
The cPanel PHP-FPM service is a requirement for using WP Toolkit. If cPanel PHP-FPM is to be permanently disabled, WP Toolkit should be removed as well, according to the article: