When changing php-fpm version, the generated /etc/opt/remi/php83/php-fpm.d/nnnn.conf (or other php versions - same for e.g. 8.4) is setting pm.start_servers too low.
pm.max_children = 16
pm.start_servers = 2 ← Is too low - can’t be less than min_spare_servers or php-fpm throws an error
pm.min_spare_servers = 5
pm.max_spare_servers = 8
The config looks like this:
php_fpm=pm = dynamic pm.start_servers = 5 # Number of processes to start initially pm.min_spare_servers = 5 # Minimum idle processes pm.max_spare_servers = 10 # Maximum idle processes pm.max_children = 50 # Max simultaneous processes
But it still keeps setting the start_servers to 2 when changing php-fpm version.
Disabling php-fpm and re-enabling it solves the issue. I think it was related to the import, and possibly the php version may not have all been installed at the time of import.
Regardless - this works. Easy solution. Thank you!