Since I have great performance with event MPM with mod_fcgid + suPHP I want to keep the same performance levels on EA4.

---

My questions to break my doubts about migrating to EA4 are:

Since EA4 supports PHP-FPM, which would be faster - mod_fcgid (experimental) or php-fpm?

I would like the fastest solution to run on php7.0, while keeping second fastest for websites that aren't php7 compatible.

---

Does EA4 support php-fpm profiles / user pools? I would like to set a base php-fpm config (tune it up myself) and then have that profile configured as a custom pool for each user.

To clarify: I have users mike, john, whitney

I want to define basic pool template to have ondemand handling of children, specific memory limits, etc, and I want that profile applied to all three users.
Then I would want to edit mike and john to disable error logging and specific functions via php_admin_value directive in fpm.conf.

Can I do that by editing mike.conf, john.conf.

Basically, I would want cpanel to create a separate php-fpm pool for each user and then tweaking some pools by myself.

Also, will all php-fpm pools be using one php.ini

Since I would prefer to use mod_fcgid as a secondary solution, does that mean I don't need to install mod_proxy_fcgi, and just set handler to FCGI in multiphp manager?

Does EA4 support php-fpm profiles / user pools? I would like to set a base php-fpm config (tune it up myself) and then have that profile configured as a custom pool for each user.

Click to expand...

Yes it does, by default this is how it works by giving each user their own pool, the master process's config uses an include, and each domain has their own config. By default, cPanel controls the child process handling in the user's config.