How to enable php-fpm for php 5.6 and 7

5 posts / 0 new
Last post
#1 Sun, 02/19/2017 - 00:58
tuxi
tuxi's picture

How to enable php-fpm for php 5.6 and 7

Hi After updating to version 5.06 I installed php-fpm packages for all installed php versions (5.4,5.6,7). I use centos 7 and remi safe repository for installing additional php versions. Php-fpm is detected by virtualmin but when I choose it for a virtual server that uses php 5.6 or 7 and check the php info it shows php 5.4!!! How can I use php-fpm with 5.6 and 7? Any additional modules need to be activated?

Tue, 02/21/2017 - 09:24
7stars

I think that at the moment, php-fpm just works with the php default package... that is the 5.4 on CentOS 7 or that one you use as base

probably you need to wait for the next versions

Wed, 04/11/2018 - 02:23
Murz

Is there any way to change default version of php-fpm package in system or set PHP-FPM version manually in Virtualmin?

Wed, 04/11/2018 - 03:20
Murz

I have found a workaround via making /etc/php/5.6/fpm/pool.d folder as symlink to /etc/php/7.0/fpm/pool.d folder (after removing php5.6-fpm from system) and seems all works well.

Thu, 07/05/2018 - 05:11
amityweb

Does anyone know if this is the "official" method, it doesn't sound right to me.

Topic locked