WARNING : PHP 7.4 have reached its "end of life" in November 2022. Even, if this package includes some of the important security fixes, backported from 8.1 the upgrade to a maintained version is very strongly recommended.

WARNING : PHP 7.4 have reached its "end of life" in November 2022. Even, if this package includes some of the important security fixes, backported from 8.1 the upgrade to a maintained version is very strongly recommended.


WARNING : PHP 7.4 have reached its "end of life" in November 2022. Even, if this package includes some of the important security fixes, backported from 8.1 the upgrade to a maintained version is very strongly recommended.


Impact:

None: this warning is benign.

The latest supported PHP version in the official Rocky Linux 8 repositories (AppStream) is 7.4.rockylinux

Rocky Linux 8, as a RHEL 8 clone, provides PHP through modular streams in AppStream, where PHP 7.2 is the default but streams up to 7.4 receive support until the distro's end-of-life in 2029.howtoforge+2

Newer versions like PHP 8.x require third-party repositories such as Remi for installation on Rocky 8.computingforgeeks+1

Checking Locally

Run dnf module list php to view available streams on your Rocky 8 system.server-world+1

  • Default stream shows as PHP 7.2 [d].

  • Supported streams include 7.3 and 7.4.

Verify with php -v

  1. https://forums.rockylinux.org/t/default-php-module-7-2-obsolete/9751
  2. https://www.server-world.info/en/note?os=Rocky_Linux_8&p=php&f=1
  3. https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/package_manifest/appstream-repository

The warning appears when enabling or installing the PHP 7.4 module on Rocky Linux 8 via dnf module enable php:7.4, as upstream PHP 7.4 reached general end-of-life (EOL) in November 2022.tecmint+1

Red Hat (and thus Rocky Linux) continues backporting critical security fixes to the PHP 7.4 AppStream module until Rocky 8's full EOL in May 2029, making it safe for production use despite the upstream EOL notice.rockylinux+2

Upgrade Options

None:
You must override the distro defaults to use Remi and a non default installation procedure in order to install any PHP version greater than 7.4 in Rocky Linux 8
ScopTEL does not support PHP 8.x+ at this time as PHP 7.4 is supported by Rocky officially until 2029
  1. https://www.tecmint.com/install-php-7-on-rocky-linux/
  2. https://forums.rockylinux.org/t/default-php-module-7-2-obsolete/9751
  3. https://forums.rockylinux.org/t/rocky-linux-vs-php-support-cycle/9744
  4. https://access.redhat.com/support/policy/updates/rhel-app-streams-life-cycle
  5. https://blog.remirepo.net/post/2023/11/27/PHP-8.0-is-retired
  6. https://tuxcare.com/blog/php-eol/
  7. https://forum.matomo.org/t/php-version-7-4-deprecated-warning-hence-php8-0-not-working-running-matomo-4-13-0/49024
  8. https://www.reddit.com/r/linux/comments/yud4dk/php_74_eol_in_2_weeks_but_no_php_8x_for_ubuntu/
  9. https://tuxcare.com/blog/php-7-4-eol/
  10. https://www.centron.de/en/tutorial/install-php-7-4-with-php-fpm-on-rocky-linux-9-guide/