Skip to main content

Reverted to EasyApache3 and now cannot get FastCGI enabled anymore

Comments

6 comments

  • vacancy
    Easyapache 4 also supports Fastcgi. But it is experimental. Apache Module: FCGId - EasyApache 4 - cPanel Documentation
    0
  • outofcontrol
    Thanks for the response. After much trial and error, we finally got EasyApache4 installed correctly, and PHP-FPM working in a limited way on some sites (I'll open another thread on those troubles). For now we are learning to live with EA4 without FastCGI, as it appears that PHP-FPM gives us most of what we need.
    0
  • vacancy
    Hello Php-fpm and fcgid are separate things. Php-fpm works with fastcgi_proxy. Php-fpm as handler can not be selected, you can use suphp or cgi, php-fpm should be enabled manually for every site. For pool settings
    0
  • outofcontrol
    Thanks for the clarification. Definitely fine with mod_proxy_fcgi and PHP-FPM enabled on some sites. Now to figure out why I get this on some sites only when PHP-FPM is enabled (sites that worked fine under FastCGI with EA3): Failed to read FastCGI header [Sat Apr 22 08:35:54.115064 2017] [proxy_fcgi:error] [pid 8893] (104)Connection reset by peer: [client nnn.nnn.nnn.nnn:42106] AH01075: Enabling error_log in php.ini doesn't appear to work as it did previously.
    0
  • cPanelMichael
    Failed to read FastCGI header [Sat Apr 22 08:35:54.115064 2017] [proxy_fcgi:error] [pid 8893] (104)Connection reset by peer: [client nnn.nnn.nnn.nnn:42106] AH01075:

    Hello, You can browse to "WHM Home " Software " MultiPHP Manager" and try increasing the "Process Idle Timeout" value under "Pool Options" for the affected domain name to see if that helps. If not, could you let us know the rest of the error code you see in the Apache error log when this happens (it looks to be cut off after AH01075)? Thank you.
    0
  • outofcontrol
    Thanks, now I am understanding how PHP-FPM works much better, I this fixed and the sites loading. Just a few last little things that need to be resolved. I'll open a different ticket for those.
    0

Please sign in to leave a comment.