apache_php_fpm failed permanently

gnetwork-cp

Member
Mar 1, 2016
23
6
3
Australia
cPanel Access Level
Root Administrator
Since making a small adjustment in MultiPHP Manager - the Pool options of php-fpm - the following service has failed permanently:
apache_php_fpm

I can't get it back, having removed it and re-installed in EA4. I also set defaults in /var/cpanel/ApachePHPFPM/system_pool_defaults.yaml
Rebooted several times... still apache_php_fpm service is down.

When I go to MultiPHP Manager, I see this notice:

Your system contains an old PHP-FPM configuration. To update your PHP-FPM configuration, read our Configure or Disable PHP-FPM with User Pools for EasyApache 4 documentation.
[Acknowledge]

So I visited that page, but doesn't help. Getting email notices every 5 min.
All my settings look ok.

Need help to get apache_php_fpm going again.

Additional info: apache_php_fpm service appears UP when I turn php-fpm OFF for the domains, but when I turn it on, the apache_php_fpm service goes DOWN. Either way page loads result in 500/503 error, currently only cached pages (mod_cache_disk) work.
 
Last edited:

gnetwork-cp

Member
Mar 1, 2016
23
6
3
Australia
cPanel Access Level
Root Administrator
I needed to get it working, so opened a Ticket and it was solved quickly after.

The issue was that the PHP-FPM configuration files contained an outdated directive that was causing PHP-FPM to not start up.
To address this issue, I removed the "php_admin_value_error_reporting" line from the /var/cpanel/ApachePHPFPM/system_pool_defaults.yaml file. I then rebuilt the Apache PHP-FPM configuration files with "/scripts/php_fpm_config --rebuild".
 
  • Like
Reactions: cPanelMichael