Martin Werner

Member
Dec 4, 2015
18
0
1
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.
 

hydn79

Active Member
Feb 1, 2013
25
0
1
cPanel Access Level
Website Owner