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.

Desktop: Fedora 29 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 30 x86_64 + rpmfusion + remi (SCL only)
Hosting Server: CentOS 6.10 x86_64 with EPEL, remi, remi-php72 and remi-php72-test

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)

Desktop: Fedora 29 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 30 x86_64 + rpmfusion + remi (SCL only)
Hosting Server: CentOS 6.10 x86_64 with EPEL, remi, remi-php72 and remi-php72-test

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