Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

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-FPM Handler what to choose

Discussion in 'EasyApache' started by digitaliway, Nov 16, 2016.

Tags:
  1. digitaliway

    digitaliway Member

    Joined:
    Feb 17, 2015
    Messages:
    17
    Likes Received:
    1
    Trophy Points:
    3
    cPanel Access Level:
    Root Administrator
    I am running cpanel 60.0.24

    under MultiPHP Manager I have a question on what handler to use.

    Since I am running PHP-FPM for all sites what handler should I have selected? I have SUPHP currently selected


    Syatem setup below:
    PHP-FPM is running on all my sites.
    all sites are using PHP56
    I have memcache and memcached running
    easy apache 4 in running.
    CLOUDLINUX 6.8 x86_64 xenpv


    currently running centos 6.4 (is there any benefit to upgrading this)?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Enabling PHP-FPM for a domain name ensures PHP applications for that domain name are served through the mod_proxy_fcgi Apache module. This essentially updates the PHP handler for the individual domain name. Since you can't set the PHP-FPM handler as a global PHP handler, the default global PHP handler (suPHP in your case) is utilized for domain names with PHP-FPM disabled. You can find documentation on this at:

    PHP Handlers - EasyApache 4 - cPanel Documentation

    Thank you.
     
  3. digitaliway

    digitaliway Member

    Joined:
    Feb 17, 2015
    Messages:
    17
    Likes Received:
    1
    Trophy Points:
    3
    cPanel Access Level:
    Root Administrator
    thank you, that is exactly what I needed to know and I appreciate the link to docs. I also would like to know if CPANEL handles the centos upgrades? If not is it safe to upgrade to 6.8 but stay away from 7?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    OS upgrades are considered a system administration task and are not handled by cPanel. Upgrading from one major version to another (e.g. CentOS 6 to CentOS 7) is not recommended. Instead, it's advised that you setup a new server with CentOS 7 and then migrate the accounts to the new server using "WHM >> Transfer Tool". That said, you can generally use "yum update" safely to upgrade to new minor versions of CentOS.

    Thanks!
     
Loading...

Share This Page