ELS-PHP FPM services fail to start Print

  • 0

Symptoms

After setting a website to use an alt-php version provided by ELS-PHP, the FPM service for that alt-php version fails to start. Errors provided are similar to the following:

WARNING: Nothing matches the include pattern '/opt/alt/phpX/etc/php-fpm.d/*.conf' from /opt/alt/phpX/etc/php-fpm.conf at line 135.
ERROR: No pool defined. at least one pool section must be specified in config file
ERROR: failed to post process the configuration
ERROR: FPM initialization failed

 

Cause

The error is caused by alt-phpX-php-fpm attempting to use a different configuration path than what is expected. As a result, the service cannot start.

We have opened a case with our developers with case ID CPANEL-51570 to review this further. 

 

Resolution

This issue has been resolved in CloudLinux package updates via case ID EA4D-782.

- EA4D-782: Ensure /opt/cpanel/alt-php81/root/usr/var/run/php-fpm path is traversable by all users
 (post-install chmod o+X on path components when dirs were created before package install)

To update, run the following command.

yum groupupdate alt-php81* --enablerepo=cloudlinux-rollout-15-bypass

Note: Replace alt-php81* with the desired alt-php version. The updates are currently in rollout, but when they are shipped to stable, system updates will update them automatically.

You can also update all alt-php versions with the following command.

yum groupupdate alt-php* --enablerepo=cloudlinux-rollout-15-bypass

Note: Updating with alt-php* will install all available alt-php versions and required dependencies. If you only need a few PHPs updated, feel free to install from the previous command above.


Was this answer helpful?
Back

Send Message