Skip to main content

php-fpm / proxy_fcgi

Comments

5 comments

  • cPanelMichael
    Hello, Are both users assigned the same version of PHP? Also, do you happen to have FCGId enabled from the EA4 experimental repo on this system? It's documented at: Apache Module: FCGId - EasyApache 4 - cPanel Documentation Thank you.
    0
  • iddqd_x
    Hello, We have mod_cgi and mod_proxy_fcgi (it was installed by EA4 automatically as depency for phpXX-php-fpm package). We can't use mod_fcgid (FCGId) in production enviroment as it experimental at this moment. What we have now: System PHP Version (global) is set to ea-php56 PHP Version | PHP Handler ea-php56 | cgi ea-php70 | cgi ea-php71 | dso Both users can switch to any version (cgi or dso). But when I manually turn on PHP-FPM for second user it doesn't work for some reason. First user is OK. WHM and cPanel shows that PHP-FPM is on, there is fpm config, socket file for fpm pool and so on. But it doesn't update Apache configuration file. When it switched to PHP-FPM there should be lines like "IfModule proxy_fcgi_module" but those lines creates only for first user. Even if PHP-FPM is turned on second user uses cgi as PHP handler, not PHP-FPM. Maybe there's something wrong with cPanel-Apache template? It would be great if there some magic script in /scripts/ folder :)
    0
  • cPanelMichael
    Hello, Could you open a support ticket using the link in my signature so we can take a closer look? Thank you.
    0
  • iddqd_x
    Problem solved. Ticket ID 9050009. Thank you!
    0
  • cPanelMichael
    Problem solved. Ticket ID 9050009. Thank you!

    To update, this was the result of a custom Apache template. Reverting to the default template looks to have solved the issue. Thank you.
    0

Please sign in to leave a comment.