Issue installing PHP 5.6 on CentOS

System:
Operating system CentOS Linux 6.9
Webmin version 1.851
Usermin version 1.720
Virtualmin version 5.99

I’m following the official guide https://www.virtualmin.com/documentation/web/multiplephp to install PHP 5.6 on CentOS, however, I’m getting:

yum install centos-release-scl

Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile

https://access.redhat.com/articles/1320623

If above article doesn’t help to resolve this issue please open a ticket with Red Hat Support.

Error: Cannot retrieve repository metadata (repomd.xml) for repository: scl. Please verify its path and try again

This article https://bugs.centos.org/view.php?id=10925 seems to relate to this, can anyone advise how I fix this issues so I can install

Can anyone advise/assist with this issue?

What’s in /etc/yum.repos.d/CentOS-SCLo-scl.repo and /etc/yum.repos.d/CentOS-SCLo-scl-rh.repo?

On my system it’s got baseurl pointing to the CentOS mirror server URL; it’s not a mirrorlist at all, so there would be no opportunity to end up with a broken mirror, AFAICS. If you’ve got http://agentrepo.drivesrvr.com/redhat/ in your yum repos, you’d want to get rid of it, as it clearly isn’t hosting a CentOS SCL mirror.

Thank you, Joe, for your reply the solution for me was:

into the directori /etc/yum.repos.d edit file: CentOS-SCL.repo

sudo su
vi CentoOS-SCL.repo

comment line:

baseurl=http://mirror.centos.org/centos/$releaserver/SCL/$basearch/

add line:

baseurl=http://mirror.centos.org/centos/6/sclo/x86_64/sclo/