Read the PHP 8.1.0 Release Announcement and its Addendum for new features detailed description.

emblem-notice-24.pngInstallation: read the Repository configuration and choose installation mode, or follow the Configuration Wizard instructions.

Replacement of default PHP by version 8.1 installation (simplest):

Fedora modular or Enterprise Linux 8:

dnf module reset php
dnf module install php:remi-8.1

Fedora or Enterprise Linux 7:

yum-config-manager --enable remi-php81
yum update php\*

Parallel installation of version 8.1 as Software Collection (x86_64 only, recommended for tests):

yum install php81

emblem-important-2-24.pngTo be noticed :

  • EL9 RPMs are build using RHEL-9.0-Beta
  • EL8 RPMs are build using RHEL-8.5
  • EL7 RPMs are build using RHEL-7.9
  • this version will also be the default version in Fedora 36
  • lot of extensions are already available, see the PECL extension RPM status page.

emblem-notice-24.pngInformation, read:

Base packages (php)

Software Collections (php81)