The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

PHP handler FastCGI vs PHP-FPM

Discussion in 'EasyApache' started by Nirjonadda, Jul 19, 2017.

Tags:
  1. Nirjonadda

    Nirjonadda Well-Known Member

    Joined:
    May 8, 2013
    Messages:
    356
    Likes Received:
    10
    Trophy Points:
    18
    cPanel Access Level:
    Website Owner
    Please let me know that what does PHP handler FastCGI vs PHP-FPM ? Can we use FastCGI and PHP-FPM at a time? PHP handler FastCGI and PHP-FPM with Performance is even better?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,204
    Likes Received:
    1,296
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
  3. vacancy

    vacancy Well-Known Member

    Joined:
    Sep 20, 2012
    Messages:
    122
    Likes Received:
    11
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Fcgi and php-fpm are different things.

    Php-fpm works with proxy_fcgi. Handler can selected as suphp.

    Fcgi works alone. Handler can be selected. There is no multi php support.

    Performance may vary. As a result, both work on fast cgi.
     
  4. Nirjonadda

    Nirjonadda Well-Known Member

    Joined:
    May 8, 2013
    Messages:
    356
    Likes Received:
    10
    Trophy Points:
    18
    cPanel Access Level:
    Website Owner
    So Can we use both FastCGI and PHP-FPM same time?
     
  5. vacancy

    vacancy Well-Known Member

    Joined:
    Sep 20, 2012
    Messages:
    122
    Likes Received:
    11
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Yes with proxy_fcgi. No as mod_fcgi handler.
     
  6. Anoop P Alias

    Anoop P Alias Well-Known Member

    Joined:
    Mar 31, 2015
    Messages:
    65
    Likes Received:
    6
    Trophy Points:
    8
    Location:
    Kochi,Kerala,India
    cPanel Access Level:
    Root Administrator
    PHP-FPM is the recommended way of deploying php by php.net . I would recommend that you switch all domains to use php-fpm as handler from WHM.
    I believe cPanel will have the feature to make this the default handler soon. But as of now you will need to switch domains to php-fpm
     
Loading...

Share This Page