Installing package rh-php56 in a CentOS 6 Docker image used to work using the methodology described here, but now I get the following error from yum
:
No package rh-php56 available.
Querying yum
, I see that other packages from Software Collections (e.g., rh-php70) are available, so I know that centos-release-scl
is working.
The rh-php56 RPMs exist in every mirror I've checked, e.g., http://mirror.centos.org/centos/6/sclo/x86_64/rh/rh-php56/
My workaround has been to install the packages by referencing the full mirror URLs to the RPMs, which feels silly.
The summary on the SCL page does note that:
This collection is EOL since April 2018.
I am working on a PHP7 upgrade, but need to do some work with 5.6 in the interim. Are EOL'ed SCL packages somehow excluded from yum
?
Best Answer
See RHSCL life cyle documentation
rh-php56 have reached its end of life in April 2018, so will removed soon from live repository.
It will stay available on vault (like php54 and php55), but I heartily recommend to switch to a maintained version (rh-php70 or rh-php71)
BTW, it still online for now: