CentOS7 PHP 5.6 missing from ius-community repo

user69904 asked:

In the past I have installed the ius-community repo and then installed php56u like so:

yum install https://centos7.iuscommunity.org/ius-release.rpm
yum install php56u

Now that I have come to do the same on a new system, the php56u package seems to be missing. I read they renamed it to mod_php but that is also not found (for 5.6). Only the php7.2 package is available.

yum list php56u
Error: No matching Packages to list
yum list mod_php56u
Error: No matching Packages to list
yum list mod_php72u
Available Packages
mod_php72u.x86_64            7.2.15-1.ius.centos7 

Looking at the repo here it is also not showing on that list. How can I get it?

My answer:


You don’t get them.

IUS removes packages from its repositories when those packages are no longer supported by their developers. PHP 5.6 went end of life at the end of last year, thus IUS removed the PHP 5.6 packages.

Your developers need to update their code to work with PHP 7, and have completed that work last year. That hard deadline has passed, now it must be done today.


View the full question and any other answers on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.