Fedora Linux 9154 Published by

Remi Collet has released new PHP packages for Fedora and RHEL-based Linux distributions, including PHP 8.4.14 and 8.3.27. These updates include a range of improvements across various PHP modules, such as fixes for object property checks, unexpected access violations, and issues with timeouts and arrays. Users can install the new versions using the Configuration Wizard or by running specific commands in their terminal, including "dnf module switch-to php:remi-8.4/common" followed by "yum install php84". The new packages are available for Fedora Linux 41 and higher, as well as Enterprise Linux 8 (RHEL, Alma, CentOS, Rocky) and higher.



PHP 8.3.27 and 8.4.14 Packages for Fedora and RHEL-based distros

Remi Collet has released new PHP 8.4.14 and 8.3.27 packages for Fedora and RHEL-based Linux distributions. These packages are now available for Fedora Linux 41 and higher, as well as Enterprise Linux 8 (RHEL, Alma, CentOS, Rocky) and higher.

The new features and bug fixes in these updates include a wide range of improvements across various PHP modules. Some notable changes include:

In PHP 8.4.14:

  • The core module has seen several significant improvements, including the fix for the object_properties_load() function bypassing readonly property checks, which was identified as a bug (GH-19765). Additionally, other important bugs were resolved in this version, such as SCCP causing an unexpected access violation (UAF) when both warnings and exceptions are triggered (GH-19792), as well as issues with hard timeout, cloning of CURLOPT_POSTFIELDS, and incorrect HASH_FLAG_HAS_EMPTY_IND flag on userland arrays.
  • The CLI module has been fixed to remove useless "Failed to poll event" error logs due to EAGAIN in CLI server with PHP_CLI_SERVER_WORKERS.
  • In the Curl module, several bugs were resolved, including issues with cloning of CURLOPT_POSTFIELDS when using the clone operator instead of curl_copy_handle() function, and curl build and test failures with version 8.16.
  • Date, DOM, GD, MySQLnd, Opcache, Phar, SimpleXML, Soap, Standard, Streams, XMLReader, Zip, and Zlib modules have also seen various bug fixes and improvements.

Similarly, in PHP 8.3.27:

  • The core module has received numerous bug fixes, including the resolution of object_properties_load() bypassing readonly property checks (GH-19765), as well as other critical bugs such as SCCP causing UAF for return value when both warning and exception are triggered (GH-19792) and issues with hard timeout.
  • CLI, Curl, Date, DBA, GD, MySQLnd, Phar, SimpleXML, Soap, Standard, Streams, XMLReader, Zip, and Zlib modules have also seen various improvements and bug fixes.

For installation purposes, users can use the Configuration Wizard to choose their preferred version and installation mode. The simplest method for replacing the default PHP version with version 8.4 involves running the command "dnf module switch-to php:remi-8.4/common" followed by "yum install php84". Alternatively, parallel installation of version 8.4 as Software Collection can be achieved using the "dnf module enable php:remi-8.4/common" and "yum install @remi-php8.4" commands.

Similarly, for replacing the default PHP version with version 8.3, users can run the command "dnf module switch-to php:remi-8.3/common" followed by "yum install php83".

:gear:️ PHP version 8.3.27 and 8.4.14

RPMs of PHP version 8.4.14 are available in the remi-modular repository for Fedora ≥ 41 and Enterprise Linux ≥ 8 (RHEL, Alma, CentOS, Rocky...).

Gnome_shell_screenshot_09fnu0

:gear:️ PHP version 8.3.27 and 8.4.14