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 further with case ID ALTPHP-2485.
Resolution
Move aside the default configuration for any alt-php PHP-FPM services you require:
# mv -v /opt/alt/phpXX/etc/php-fpm.d/www.conf{,.default}
Note: Replace phpXX with the PHP version you need. For example, php82 for PHP 8.2.
Comments
0 comments
Article is closed for comments.