I stood up an Azure RHEL8 (8.2) VM but the default install of PHP is 7.2 and I need at least 7.4. How can I update it with the current Yum/dnf repos?
Additionally, how do I update my RHEL8 from 8.2 to 8.3?
I stood up an Azure RHEL8 (8.2) VM but the default install of PHP is 7.2 and I need at least 7.4. How can I update it with the current Yum/dnf repos?
Additionally, how do I update my RHEL8 from 8.2 to 8.3?
@AdminThomasMorel-0046 , Thank you for your question.
You can enter the OS, target PHP version and type of installation at https://rpms.remirepo.net/wizard/ and it will generate detailed steps to install the desired PHP version.
To enable the module stream run the following command:
dnf module enable php:remi-7.4
To update RHEL8 from 8.2 to 8.3 you can follow the answer here https://access.redhat.com/discussions/5664261?tour=8
Here are some information related to image update behavior of RHEL on Azure:
If you provision a VM from a RHEL image that is connected to non-EUS repositories, you will be upgraded to the latest RHEL minor version when you run sudo yum update.
If you provision a VM from a RHEL image that is connected to EUS repositories, you will not be upgraded to the latest RHEL minor version when you run sudo yum update.
For more information please check this article.
Disclaimer: This response contains a reference to a third-party World Wide Web site(s). Microsoft is providing this information as convenient to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.
Hope this helps!
Please "Accept as Answer" if it helped, so that it can help others in the community looking for help on similar topics.
Thanks for the help, however, when I run the very first command from that link, I get the attached message indicating a 404 error.

I removed those repos and the command worked, however, when I run:
sudo dnf install https://rpms.remirepo.net/enterprise/remi-release-8.rpm
This is what I get:
Updating Subscription Management repositories.
Last metadata expiration check: 0:01:48 ago on Thu 24 Jun 2021 03:09:40 PM UTC.
remi-release-8.rpm
Error:
Problem: conflicting requests
- nothing provides redhat-release >= 8.3 needed by remi-release-8.3-1.el8.remi.noarch
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
@AdminThomas remi-release-8 requires redhat-release 8.3 or more. Please update redhat release to 8.3 to continue.
13 people are following this question.