If you receive the following notification errors from your cPanel server, you can check the errors for the service in:
You can use the following to check and verify the configurations.
The script provides a check against the PHP_FPM files to validate their Configuration, Yaml file, and the Socket Connection, if any show an error, you can rebuild with:
/scripts/php_fpm_config --rebuild [--domain=domain]
Then, restart the fpm service:
If your service still fails to start, you'll want to check for a PID file and a .sock file for your PHP-FPM installation.
If a PID file is present, but not a sock file, reinstall the PHP-FPM service with yum will resolve this.
yum reinstall ea-php[version]-php-fpm
If you continue to face issues with your PHP-FPM service, feel free to open a ticket with our support team through the "Submit a request" link below and we'll be happy to take a look.
As always, thank you for choosing cPanel.