Remi's RPM repo ships PHP 8.6.0 alongside a four-line security batch
Remi Collet's popular third-party repository just packaged two announcements in the space of a few hours, and they landed at the exact moment you'd want them to. The remi repo pushed its quarterly security batch across four supported PHP lines. The following day it shipped PHP 8.6.0, the first general release of the 8.6 series.
All of it is built for Fedora 43 and up, plus Enterprise Linux 8 and later. That means RHEL, AlmaLinux, CentOS Stream, Rocky, and the many clones that all try to be the same thing. Hard to keep them straight. There's a wiki page somewhere that tries. Skip it. Both x86_64 and aarch64 ships are covered, in the usual two flavors: module streams and Software Collections.
The security batch: update now
Remi didn't mince words. He said these versions fix some critical security bugs, so the update is strongly recommended. The PHP team's own pre-advisory capped the severity at CRITICAL, then added its usual caveat that critical issues generally require non-default configuration or uncommon setups to exploit.
Still. The batch is a meaty one. Every maintained line gets fixes for a pile of memory-corruption and logic bugs, several of them handing an attacker either remote code execution or local privilege escalation.
Here's how it breaks down by line. PHP 8.2.36, the last supported release before end-of-life on 31 December 2026, takes 12 fixed CVEs. 8.3.37 goes to 13. 8.4.28 ships 14. And 8.5.13, the newest line, fixes 18 of them.
That number climbing with maturity is the pattern you'll see across most of PHP's maintenance track. Older lines simply have less recent code to patch.
The fixes hit the usual suspects. CGI gets a PATH_INFO correction bug, date handling loses a timezone-cache use-after-free that can lead to RCE, and FPM takes hits for request smuggling, status-endpoint XSS and an epoll use-after-free that ends in privilege escalation. Sessions, SOAP, Phar and a handful of Standard-library bugs round out the common batch shared by all four lines.
Some fixes only make it onto the newer branches. The session shutdown use-after-free and the DOM double-free don't go back to 8.2. The two backtrace bugs, the URI parsing work and the RFC 3986 serialization fix are all 8.5.13 only.
For context, the previous batch back on 21 October already closed two separate critical unauthenticated-RCE holes, an OOM corruption and some stale global state. Those aren't part of this November release. This is a distinct set of problems, not a repeat.
PHP 8.6.0: the big one
If the security batch is about not getting owned, 8.6 is about the fun stuff. It landed on the 19th as planned, and Remi noted that "RC7 was GOLD, so version 8.6.0 GA was just released." He hands credit to release managers Matteo Beccati, Joe Ferguson and Daniel Scherzer, plus whoever survived the release-candidate testing.
For Remi it wraps about six months of work. Alphas in July, module streams in September, and a lot of extension rebuilding to deliver what he calls a mostly full PHP 8.6 stack.
The headline additions are actually useful. Partial function application lets you pass some arguments up front with ? and ... placeholders and get a closure back. There's a new \Time\Duration class for stopwatch time with nanosecond precision over a 250-year range. The Io\Poll API finally gives you scalable I/O multiplexing without the old 1024-stream ceiling on stream_select(). You also get clamp() to confine a value to a range, and a SortDirection enum to replace the ancient SORT_ASC and SORT_DESC constants.
It's genuinely substantial. Not every feature is a home run, but partial function application and a first-class poll API are things people have wanted for a long time.
Other additions include #[\Override] on class constants and enum cases, objects-in-constants mutation, new URI builders, and a big Sodium bump that brings post-quantum key encapsulation. Performance-wise you'll see array_map with first-class callables compiled to loops, faster printf and JSON encoding.
But 8.6 also comes with the usual migration pain. A whole pile of things are now deprecated, return statements inside finally blocks, generator constructors, naming things after let or is. And the big one for people on RHEL-family distros is that the mbstring regex functions are deprecated.
That last bit lands with special relevance here. Oniguruma, which the mbstring functions rely on, is no longer maintained. So Remi's EL builds now use oniguruma5php instead of the system library. If you're running mb_ereg or mb_split anywhere in production, you should probably be reading the migration guide right now.
Remi points users at the migration86.php page for the full rundown. One thing worth flagging: the 8.6 Software Collections install snippet on the blog still shows yum install php85, a copy-paste leftover. For 8.6 you want php86.
What's under the hood
The packages live in the usual two places. Module streams php:remi-8.2 through php:remi-8.6 sit in remi-modular. Software Collections php82 through php86 ride in remi-safe. Both architectures.
Remi builds against current RHEL point releases. EL-10 targets RHEL 10.2, EL-9 targets 9.8 and EL-8 targets 8.10. The rebuild this cycle swaps in libicu78 for intl, oniguruma5php for mbstring, and bundles Oracle Instant Client 23.26 into oci8.
If you want to swap your default PHP to 8.5, the module-switch command on Enterprise Linux is a single line. Fedora 46 will ship 8.6 as its default version, per a Fedora change that goes by the name php86. Keep in mind that these maintenance releases will also eventually reach official distro updates, with Remi crediting Jitka Plesnik for driving those upstream.
Head here to theĀ Configuration wizard to match your specific distro and version.
