Unable to upgrade PHP to 5.6.x
sudo subscription-manager repos --enable rhel-server-rhscl-7-rpms
Fehler: »rhel-server-rhscl-7-rpms« stimmt nicht mit einer gültigen Repository-ID überein. Verwenden Sie »subscription-manager repos --list«, um gültige Repositorys anzuzeigen.
English:
Error: »rhel-server-rhscl-7-rpms« does not match with a valid Repository ID
My system: Red Hat Enterprise Linux Server release 7.5 (Maipo)
Responses
Hi Denis,
Please check whether your subscription includes the product Software Collections - either by executing the following command : sudo subscription-manager repos --list - or by visiting the portal : https://access.redhat.com/management/products.
If Software Collection (rhel-server-rhscl-7-rpms) is not listed, you may consider acquiring another suitable subscription. :)
Regards,
Christian
Hi Denis,
PHP 5.4.16 is the latest version available in RHEL 7.5 ... and when sudo subscription-manager repos --list doesn't show rhel-server-rhscl-7-rpms as an available option, then your Red Hat Enterprise Linux Academic Server subscription does not include the product Software Collections. If your organization does not want to acquire a matching subscription, a workaround could be to install the (free) community edition CentOS 7,5 in a KVM virtual machine, install the newer PHP version using their Software Collections and perform the operation from within there. Hope this clarifies the situation ... :)
Regards,
Christian
Hi Denis,
Those PHP versions are part of the Software Collections -> Red Hat Software Collections (as Mike already told
you) ... also, there is no reason to be disappointed, you simply need to attach a subscription which entitles you
to make use of Software Collections. If you can't or don't want to do that - I've suggested an alternative way to
achieve what you want. And please note that Red Hat mainly aims at businesses who rely on absolute stability.
Users who prefer to have more current or bleeding edge software, distributions such like fedora - the lab for
what later becomes RHEL - are available. It is up to you or your organization to decide which way to go ... :)
Regards,
Christian
Hi Denis (or Dieter),
EPEL is not an option - but maybe the free no-cost RHEL Developer Edition could be an option.
Instructions -> Red Hat Developer Program - Getting Red Hat Enterprise Linux Developer Suite
Infos -> Frequently asked questions: no-cost Red Hat Enterprise Linux Developer Subscription
Please read the terms and conditions and the FAQ's, and check if you meet the requirements. :)
Regards,
Christian
Hi Mike,
I (still) think something else is wrong, he wrote in his initial post "sudo subscription-manager repos --enable rhel-server-rhscl-
7-rpms ... Error: »rhel-server-rhscl-7-rpms« does not match with a valid Repository ID". Maybe the subscription isn't correctly
attached ? I suggest to un-register the system, re-register the system and re-attach the subscription - then enable all wanted
repositories, clean up yum and yum cache, run yum update. Hopefully afterwards he is able to install the desired PHP version.
Regards,
Christian
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
