Topic: Installing php 7 in parallel to PHP 5.6.12

I am currently running nginx + php-fpm and i am thinking to install php 7 in parallel so that i can test if my script are compatible with PHP 7.The script that i want to use php 7  will be hosted on a subdomain(say http://dev.mysite.com/)

1) Is it safe to do on a production server

2) Will i have to reconfigure php-fpm settings from scratch


Thanks for providing some guidance here remi

Re: Installing php 7 in parallel to PHP 5.6.12

SCL packages are designed for such usage, parallel installation.

> 1) Is it safe to do on a production server
PHP 7 is not yet suitable for production.
But as SCL doesn't alter the system, yes, I think this is safe.

> 2) Will i have to reconfigure php-fpm settings from scratch
Just have to copy your system config (/etc/php-fpm.d) to SCL config (/etc/opt/remi/php70/php-fpm.d/)

See the various article about SCL on the blog.

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi