Symptoms
After a recent update to alt-php, the server is unable to run multiple PHP-FPM services for the alt-php versions. They fail with the following error:
CONFIG_TEXT: ERROR: unable to bind listening socket for address '127.0.0.1:9000': Address already in use (98)
Cause
A recent change in the alt-php versions attempted to make the PHP-FPM services start by default by loading the default configuration. However, all PHP-FPM services from alt-php use the same default configuration, which results in all attempting to use the same default port.
CloudLinux is currently reviewing this upstream with case ID ALTPHP-2485.
Resolution
Move aside the default configurations for the
alt-phpPHP-FPM services that are installed:# find /opt/alt -name "www.conf" -exec mv -v {}{,.default} \;
Restart PHP-FPM:
# /scripts/restartsrv_apache_php_fpm
Comments
0 comments
Article is closed for comments.