Page 1 of 1
php-fpm on multiple php versions
Posted: Sat Dec 28, 2013 8:20 pm
by DarkF@der
Hello,
I have installed php-fpm on plesk and it's using nucleus repo.
I also installed atomic-php55 and atomic-php55 also the php-pfm packets.
But when i switch in plesk to use php-fpm i can only use the 5.3 php-fpm package.
I like to use it also on 5.4 and 5.5 if a client set there hosting to use 5.4 and enabling to use php-fpm then his account switching back to php-fpm 5.3 i want if they choose using php atomic-php54 that it also use the atomic-php54-php-fpm package.
how to fix this
Greetz
Re: php-fpm on multiple php versions
Posted: Sun Dec 29, 2013 1:06 pm
by scott
Thats a great question, I don't use fpm myself so its not anything Ive ever tried
Re: php-fpm on multiple php versions
Posted: Mon Dec 30, 2013 6:46 am
by DarkF@der
scott wrote:Thats a great question, I don't use fpm myself so its not anything Ive ever tried
ok

anyone else ????
Re: php-fpm on multiple php versions
Posted: Mon Dec 30, 2013 7:44 am
by faris
I'm curious -- what are the benefits? I've read what it says on the php-fpm page, but it doesn't help me understand.
Re: php-fpm on multiple php versions
Posted: Mon Dec 30, 2013 10:21 am
by prupert
faris wrote:I'm curious -- what are the benefits? I've read what it says on the php-fpm page, but it doesn't help me understand.
It has best of both worlds from running PHP under Apache mod_php or FastCGI, though I wouldn't recommend using it in a shared hosting environment with Plesk, it is ideal for web servers with PHP applications.
Re: php-fpm on multiple php versions
Posted: Mon Dec 30, 2013 10:22 am
by DarkF@der
prupert wrote:faris wrote:I'm curious -- what are the benefits? I've read what it says on the php-fpm page, but it doesn't help me understand.
It has best of both worlds from running PHP under Apache mod_php or FastCGI, though I wouldn't recommend using it in a shared hosting environment with Plesk, it is ideal for web servers with PHP applications.
The main advantage of using PHP-FPM is that it uses less memory and CPU as compared to any other standalone applications. It also daemonizes PHP, there by turning it into a background process while providing a command-line like script for managing various PHP processes.
Re: php-fpm on multiple php versions
Posted: Mon Dec 30, 2013 10:31 am
by scott
So basically it makes sense if you have are using this for a single user account.