php 7.4 RHEL8
Does RHEL 8 have php 7.4 repositories?
Responses
Hi Daniel,
Currently RHEL 8 provides php 7.3.5 as the latest module and this module is available from the AppStream repository. :)
Regards,
Christian
Christian, Do you know if Redhat will offer PHP 7.4.x soon? Thanks NN
Hi Naren,
PHP 7.4 is available from the rhel-8-for-x86_64-appstream-beta-rpms repository.
And this means that it most certainly will be available once RHEL 8.3 reaches GA. :)
Regards,
Christian
php 7.4 is available in RHEL 8.3 without any beta repository. For me I had to upgrade everything to 8.3 and then switch php stream to 7.4
dnf upgrade
dnf module reset php
dnf module install php:7.4
Hmm, why is PHP 7.4 not installed immediately by default. using the "dnf install php" command? I ask this for the sake of caution, i.e. this method of installing version 7.4. is it official?
we need php 8.0 rpm to install on RHEL 7.9. could you please help on this
I found this link below saying PHP 7.4 will not be added RHEL 7, however, it was added to RHEL 8. So I doubt you'll have PHP 8 on RHEL 7...
Is PHP 7.4 available in Red Hat Enterprise Linux 7? https://access.redhat.com/solutions/5724791
I didn't want to do this, but the Extra Packages for Enterprise Linux (EPEL) has PHP 7.4 Follow this article and change 7.3 to 7.4 (you can also yum search php before install to see if this is what you want.): http://www.mimastech.com/2018/12/12/how-to-install-php-7-3-on-centos-7-rhel-7-linux-systems/
More Package details https://blog.remirepo.net/post/2019/11/28/PHP-version-7.4.0-is-released
container image ubi8/php-7.4 (https://catalog.redhat.com/software/containers/ubi8/php-74/5f521244e05bbcd88f128b63?container-tabs=overview) and rhel8/php-7.4 (https://catalog.redhat.com/software/containers/rhel8/php-74/5f5211e39df2542e4756afd1?container-tabs=overview>i-tabs=registry-tokens ) do not have php-pecl-zip, even the upstream have merged the PR (https://github.com/sclorg/s2i-php-container/pull/331) 1 month ago.
When will we have the php-pecl-zip? it is essential for us to run wordpress.
Will we ever get 7.4.28 on RH8.4? I looked at the redhat catalog and saw 7.4.19 as the only version in there. 7.4.28 addresses CVE-2021-21708, CVE-2021-21707, and CVE-2021-21703. The first one having a rating of 9.8 out of 10, which should be a high priority to fix.
rhel-8-for-x86_64-appstream-rpms Red Hat Enterprise enabled
rhel-8-for-x86_64-baseos-rpms Red Hat Enterprise enabled
php.x86_64 7.4.19-2.module+el8.6.0+13953+0a59ce9f @rhel-8-for-x86_64-appstream-rpms
How do we get version 7.4.28 on this RH8 install?
Hi Jacob,
PHP 7.4.19 is the latest available version of PHP edition 7 provided for RHEL 8 by the Red Hat repositories.
But if you want a newer PHP version, you can switch to PHP 8.0.13 ... :)
Regards,
Christian
Can we update PHP from 7.4.19 to 7.4.30 without adding EPEL repository ?
Hi Aravind,
Short answer : No - But if you want a newer PHP version, you can switch to PHP 8.0.13 ... :)
Regards,
Christian