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!

Installing PHP-FPM on EasyApache 4

Discussion in 'EasyApache' started by Martin Werner, Apr 7, 2016.

Tags:
  1. Martin Werner

    Martin Werner Member

    Joined:
    Dec 4, 2015
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Sweden
    cPanel Access Level:
    Root Administrator
    Hi!

    I am ATM running EasyApache 3 with suPHP. The server is really slow because of suPHP having to spin up processes for each request.

    I am going to update to EasyApache 4.

    So I want to change to PHP-FPM and found this guide: Configure PHP-FPM with User Pools for EasyApache 4 - cPanel Knowledge Base - cPanel Documentation

    My main issue is that I don't understand what the parameters mean:
    • These instructions assume that your server runs EasyApache 4 and PHP 5.6.
    • In the examples below, ea-php56 represents the version of PHP to use.
    • In the examples below, the following are true:
      • <user> represents the name of a user on the system.
      • example.com represents the domain's base directory.

      • <useraccount> represents the user's account.
      • <vhost> represents the name of the virtual host.
    Could anyone explain? Would be really nice.

    And I was also wondering, since PHP-FPM is just a manager för Fast CGI, can you run suEXEC when using PHP-FPM?

    I am running a couple of WordPress sites, all the latest version -> will they break if I change from PHP 5.6 to PHP 7?

    Thanks in advance.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,378
    Likes Received:
    1,857
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. hydn79

    hydn79 Active Member

    Joined:
    Feb 1, 2013
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,378
    Likes Received:
    1,857
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice