Topic: php 5.6 module not available?

Hello,

thank you Remi for everything that you do, it's truly an invaluable resource to the Linux web hosting community.

We are following the instructions in your Wizard (thank you, very useful!), but are running into an issue. All steps were followed, but 5.6 package does not appear to be available?

Instructions in Wizard indicate:

You have to enable the module stream for 5.6:
    dnf module reset php
    dnf module install php:remi-5.6

However that doesn't work - looks like only 7+ is available?

[root@2022 ~]# yum repolist
repo id                                                                                         repo name
appstream                                                                                       AlmaLinux 8 - AppStream
baseos                                                                                          AlmaLinux 8 - BaseOS
epel                                                                                            Extra Packages for Enterprise Linux 8 - x86_64
epel-modular                                                                                    Extra Packages for Enterprise Linux Modular 8 - x86_64
extras                                                                                          AlmaLinux 8 - Extras
remi-modular                                                                                    Remi's Modular repository for Enterprise Linux 8 - x86_64
remi-safe                                                                                       Safe Remi's RPM repository for Enterprise Linux 8 - x86_64

[root@2022 ~]#dnf module reset php
Last metadata expiration check: 1 day, 21:35:29 ago on Sat 29 Jan 2022 01:04:20 AM EST.
Dependencies resolved.
Nothing to do.
Complete!

[root@2022 ~]# dnf module install php:remi-5.6
Last metadata expiration check: 1 day, 21:35:34 ago on Sat 29 Jan 2022 01:04:20 AM EST.
Error: Problems in request:
missing groups or modules: php:remi-5.6

[root@2022 ~]# dnf module list | grep php
php                  7.2 [d]          common [d], devel, minimal               PHP scripting language                                                                                                                                        
php                  7.3              common [d], devel, minimal               PHP scripting language                                                                                                                                        
php                  7.4              common [d], devel, minimal               PHP scripting language                                                                                                                                        
php                  remi-7.2         common [d], devel, minimal               PHP scripting language                                                                                                                                        
php                  remi-7.3         common [d], devel, minimal               PHP scripting language                                                                                                                                        
php                  remi-7.4         common [d], devel, minimal               PHP scripting language                                                                                                                                        
php                  remi-8.0         common [d], devel, minimal               PHP scripting language                                                                                                                                        
php                  remi-8.1         common [d], devel, minimal               PHP scripting language                                                                                                                                        

can you please let us know? As per the Wizard, 5.6 module should still be available on the Alma/Centos8 distro

(We know it is end of life and support, but we have a legacy application that we need to bring up)

thank you,

Re: php 5.6 module not available?

Sorry, seems there is a bug with the wizard

EL 8 was released with PHP 7.2, so only versions >= 7.2 are available as modules (single version)

Older versions are only available as SCL (multiple versions)



P.S. Wizard is fixed.

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

3 (edited by onedot33 2022-02-01 01:23:47)

Re: php 5.6 module not available?

ok, thank you, we will follow software collection method!

another question:
the Wizard advises to use:

When a single version is installed, command in default path (/usr/bin/php) can be installed:
    dnf install php56-syspaths

however, that is not found either

No match for argument: php56-syspaths
Error: Unable to find a match: php56-syspaths

Re: php 5.6 module not available?

syspaths packages were only available in "remi" repository

Now added in "safe" which is enabled  by default

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: php 5.6 module not available?

Thanks again for everything!