Hey guys,
I'm currently using EA3 and want to go EA4. Right now I'm using apache 2.2 and PHP as FastCGI.
Since EA4 doesn't support Apache 2.2, I'm planning to change Apache in EA3 to 2.4 and then go for EA4. But my problem is that EA4 FastCGI implementation does not provide MultiPHP for FCGI and since some sites on the server are not PHP 7 ready (don't ask me, clients don't want to upgrade their sites) I can't change EA3 to EA4 as of yet.
I read that we can use PHP-FPM though, which is FastCGI on steroids, or not? My server is a VPS on an OpenVZ system which has a 2 core Intel Xeon L5640 cpu, 3GB ram + 3GB burstable ram. So my question is this:
Until guys over at cPanel make FastCGI compatible with MultiPHP should I go EA4 with PHP-FPM? Right now my settings for FCGI that work pretty well so far are these:
So, if I go to PHP-FPM what do I have to change in php-fpm settings to reflect my current configuration? Or, you think I should wait until EA4's FastCGI is MultiPHP (if ever) capable? I'm a complete newbie in FPM, so any guide or help would help me alot!
I'm currently using EA3 and want to go EA4. Right now I'm using apache 2.2 and PHP as FastCGI.
Since EA4 doesn't support Apache 2.2, I'm planning to change Apache in EA3 to 2.4 and then go for EA4. But my problem is that EA4 FastCGI implementation does not provide MultiPHP for FCGI and since some sites on the server are not PHP 7 ready (don't ask me, clients don't want to upgrade their sites) I can't change EA3 to EA4 as of yet.
I read that we can use PHP-FPM though, which is FastCGI on steroids, or not? My server is a VPS on an OpenVZ system which has a 2 core Intel Xeon L5640 cpu, 3GB ram + 3GB burstable ram. So my question is this:
Until guys over at cPanel make FastCGI compatible with MultiPHP should I go EA4 with PHP-FPM? Right now my settings for FCGI that work pretty well so far are these:
Code:
<IfModule mod_fcgid.c>
FcgidIdleTimeout 3600
FcgidIdleScanInterval 480
FcgidBusyTimeout 1800
FcgidBusyScanInterval 480
FcgidZombieScanInterval 12
FcgidErrorScanInterval 12
FcgidProcessLifeTime 0
# Change the rate at which new FastCGI processes are spawned under load. Higher=faster
FcgidSpawnScoreUpLimit 10
# Higher number = spawning more FastCGI processes decreases the spawn rate (controls runaway
FcgidSpawnScore 1
# Higher number = terminating FastCGI processes decreases the spawn rate (controls runaway)
FcgidTerminationScore 2
# Increase the FastCGI max request length for large file uploads (needed for some sites)
FcgidMaxRequestLen 1073741824
FcgidMaxRequestsPerProcess 70000
FcgidMinProcessesPerClass 0
FcgidMaxProcessesPerClass 4
FcgidMaxProcesses 32
FcgidIOTimeout 1800
</IfModule>