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
Desktop: Fedora 25 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 26 x86_64 + remi (SCL only)
Hosting Server: CentOS 6.9 x86_64 + EPEL + remi + remi-php70

Re: Centos 7: php 5.6 and 7.1

Thank you.