Topic: Centos 7: php 5.6 and 7.1

Hello,
I've installed php 5.6 from remi-safe and etc is located under /opt/remi/php56/root/etc, but in 7.1 etc by default is located under /etc/opt/remi/php71

Why?

Re: Centos 7: php 5.6 and 7.1

Old SCLs use a single tree under /opt

New SCLs are now FHS compliant so
- /opt => read only
- /etc/opt for configuration
- /var/opt for data

BTW, php56 have a compatibility symlink so same path works everywhere

# ll /etc/opt/remi/*/php.ini
-rw-r--r--. 1 root root 67145 25 oct.  05:43 /etc/opt/remi/php56/php.ini
-rw-r--r--. 1 root root 60606 24 oct.  16:45 /etc/opt/remi/php70/php.ini
-rw-r--r--. 1 root root 62394 25 oct.  09:19 /etc/opt/remi/php71/php.ini
-rw-r--r--. 1 root root 62221 24 oct.  20:54 /etc/opt/remi/php72/php.ini
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

Re: Centos 7: php 5.6 and 7.1

Thank you.