Skip to main content

EA 4.0 - PHP-FPM / fCGId

Comments

3 comments

  • vacancy
    I want to answer the last question you asked. mod_proxy_fcgi is for php-fpm. Mod_fcgid is used to execute the fastcgi process by itself. Mod_fcgid does not have multi php support.
    0
  • Jcats
    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.

    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.
    Also, will all php-fpm pools be using one php.ini

    They would use the default php.ini for the version of PHP, example: /opt/cpanel/ea-php70/root/etc/php.ini but you can modify each cPanel account's php.ini, as well as set the options in the PHP-FPM pool using the php_admin_value flag.
    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?

    "EasyApache includes the mod_proxy_fcgi Apache module by default"
    0
  • cPanelMichael
    Hello, The following document should help answer your question about how PHP-FPM works with EasyApache 4: PHP-FPM Code and FileSystem Layout for EasyApache 4 - Documentation - cPanel Documentation PHP-FPM - Documentation - cPanel Documentation Let us know if you have any additional questions. Thank you.
    0

Please sign in to leave a comment.