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.

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:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  3. hydn79

    hydn79 Member

    Joined:
    Feb 1, 2013
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page