Skip to main content

Multiple php versions with fastcgi under EA4

Comments

4 comments

  • cPanelMichael
    Hello, Keep in mind that while this workaround may allow it to function, it's unsupported and not guaranteed to work with all MultiPHP functionality. You can read more about this on the following feature request comment: EasyApache 4 mod_fcgid Is there any reason you prefer to use fcgid over PHP-FPM? Thank you.
    0
  • Syneic
    I've found it not to be as bulletproof as fastcgi unfortunately. Right now i got "FcgidMaxProcessesPerClass 1" set for each virtualhost, i can easy set the same in fpm with 1 child per pool. The problem comes when/if there is a huge number of requests against one pool, this for some reason also makes all other pools unresponsive and wont respond for hours or before fpm service is restarted. I've tried to change settings like max_request, process_idle_timeout, process_control_timeout, emergency_restart_interval but haven't found a satisfactory solution compared to fastcgi where only the one virtualhost get affected.
    0
  • Syneic
    I just tried to enable FPM on a fairly unoptimized wordpress installation on one of my servers and within 10 minutes the site bacame completly unresponsive, and the child was dead as in not serving anyone. It did not respond with 503 either, just waiting for response. When i restarted fpm service, then came the 503 and after a refresh everything worked as planned again.
    0
  • cPanelMichael
    Hello, Feel free to open a support ticket using the link in my signature if you'd like us to help troubleshoot the issue with PHP-FPM on your system. Thank you.
    0

Please sign in to leave a comment.