Topic: Multiple FPM Instances with Same PHP Version

I am combining services from several servers on a single system. Each one is currently using PHP 7.2 with FPM, but they have very different php.ini's.

What is the best way to have these configurations on a single server?
I have seen some services like PostgreSQL that have @ in the service to allow for multiple version with multiple instances each.

Running RHEL7.

Re: Multiple FPM Instances with Same PHP Version

Create one pool for each instance (in /etc/php-fpm.d) and define ini configuration there.

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: Multiple FPM Instances with Same PHP Version

Notice, all pool will have to use the same set of extensions
But can use different configuration (see php_value in default pool configuration, e.g. /etc/php-fpm.d/www.conf)

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: Multiple FPM Instances with Same PHP Version

I had the same issue. Thanks for the suggestion. It worked for me.

Re: Multiple FPM Instances with Same PHP Version

The solution works just fine