PHP 8.2.15 and 8.3.2 RC1 for Fedora & RHEL Released

New developments in the PHP world are here with the release of PHP versions 8.2.15 and 8.3.2 RC1. These versions are now available for testing by developers using Fedora and Enterprise Linux environments.

Here are some details:

  • Release Candidates Availability: PHP versions 8.2.15 RC1 and 8.3.2 RC1 have been released in the testing repository, targeting Fedora and Enterprise Linux users, including those on RHEL, CentOS, Alma, Rocky, and related clones.
  • Installation Flexibility: These versions are offered as Software Collections for parallel installation, allowing users to test them alongside their existing PHP setups. They are also available as base packages.
  • Broadened Access to RPMs: RPMs for PHP versions 8.3.1 RC3 and 8.2.14 RC1 are also available. These can be found in the remi-modular-test for Fedora 37-39 and Enterprise Linux ≥ 8, in the remi-php83-test repository for Enterprise Linux 7, and as SCL in the remi-test repository.
  • Support for Multiple Architectures: The Fedora 39, EL-8, and EL-9 packages are compatible with both x86_64 and aarch64 architectures.
  • Notice for PHP 8.1: PHP 8.1 has now entered security mode only, meaning no further Release Candidates will be issued.

For those interested in trying out the release candidates, below are some commands enabling Remi’s PHP testing repository for your distribution.

Install PHP 8.3 and 8.2 Test Builds with Remi RPM on Fedora and RHEL

Install PHP 8.3 as a Parallel Software Collection

To install PHP 8.3 alongside your existing PHP setup, use this command:

dnf --enablerepo=remi-test install php83

This command enables the ‘remi-test’ repository, facilitating the installation of PHP 8.3 as a Software Collection. This method allows multiple PHP versions to run simultaneously on your system.

Set Up PHP 8.2 in Parallel with Remi Repository

For installing PHP 8.2 in parallel, execute:

dnf --enablerepo=remi-test install php82

This command activates the ‘remi-test’ repository for installing PHP 8.2 as a Software Collection, allowing it to coexist with other PHP versions.

Updating to PHP 8.3 on Enterprise Linux 7

To update your system’s PHP to version 8.3 on Enterprise Linux 7, use the following command:

yum --enablerepo=remi-php83,remi-php83-test update php\*

This updates your system’s PHP version to 8.3 using the Remi PHP 8.3 and Remi PHP 8.3 test repositories.

Modular Update to PHP 8.3 on Fedora and EL ≥ 8

For a modular update to PHP 8.3 on Fedora and Enterprise Linux versions 8 or higher, use these commands:

dnf module switch-to php:remi-8.3
dnf --enablerepo=remi-modular-test update php\*

These commands switch your system’s PHP module to Remi’s PHP 8.3 version and then update it.

Updating to PHP 8.2 on Enterprise Linux 7

To update to PHP 8.2 on Enterprise Linux 7, run the following:

yum --enablerepo=remi-php82,remi-php82-test update php\*

This command updates the system’s PHP version to 8.2, using the Remi PHP 8.2 and PHP 8.2 test repositories.

Modular Update to PHP 8.2 on Fedora and EL ≥ 8

For updating to PHP 8.2 in a modular way on Fedora and Enterprise Linux 8 or higher, execute:

dnf module switch-to php:remi-8.2
dnf --enablerepo=remi-modular-test update php\*

These commands will switch the system’s PHP module to Remi’s PHP 8.2 version and then proceed with the update.

Conclusion

We’ve delved into enabling parallel installations of the upcoming PHP 8.3 and 8.2 releases using the Remi repository, a crucial step for Fedora and RHEL users interested in testing these new versions. This approach keeps your current PHP environment intact and opens doors to experimenting with the latest PHP features.

Leave a Comment


Your Mastodon Instance
Share to...