PHP 8.2.0RC6: Downloads, Changelog, News

Release Information

PHP Version
PHP 8.2
Release Date
Release Type
Bug Fix Release
Release Status
Use PHP 8.2.21 instead
Branch Status

PHP 8.2.0RC6 is an old release of PHP 8.2 series. Using the latest version PHP 8.2.21 is highly recommended.
PHP 8.2 continues to receive bug fixes and security fixes until 2024-12-31.


Source Code

Git Clone
Use Git to clone the 8.2.0RC6 tag from the PHP Git repository.
git clone --depth 1 --branch php-8.2.0RC6
How to compile PHP
PHP can be compiled by setting up the dependencies, building the configure script (./buildconf), configuring the build ./configure, and running make.
Detailed articles on how to compile PHP are available for Ubuntu/Debian based systems and Fedora/RHEL based systems.

Windows binaries

Non-Thread Safe Builds
Non-Thread Safe (NTS) builds are single-threaded PHP builds. They can be used on web servers that integrate PHP over FastCGI protocol, such as Nginx, Caddy, and IIS.
Thread-Safe Builds
Thread-Safe (TS) builds are multi-thread PHP builds, often used to integrate PHP as a Server API for multithreaded servers. The most common use case is using PHP as an Apache module.

Docker/Podman Containers

PHP CLI Containers images only include the PHP CLI, and no FPM or Apache modules. The Alpine builds are lightweight, but may introduce incompatibilities due to their musl builds. Albeit their larger size, the Debian-based (without the "-alpine" suffix) images are more complete, and widely used.

Alpine-based: Lightweight, but may introduce incompatibilities due to their musl builds.
docker pull php:8.2.0RC6-cli-alpine

Debian-based: More compatible with other components, complete, and are widely used.
docker pull php:8.2.0RC6-cli
PHP CLI + Web Server Integration
These container images include PHP CLI, and a web server integration. FPM container images can be integrated with web servers such as Nginx, Caddy, and Apache with Event MPM. The Apache container images include Apache web server, integrating PHP as an Apache module.

Alpine-based: Lightweight, but may introduce incompatibilities due to their musl builds.
docker pull php:8.2.0RC6-fpm-alpine

Debian-based ZTS Apache: Includes Apache web server integrating PHP as an Apache module.
docker pull php:8.2.0RC6-apache

Debian-based NTS FPM: PHP-FPM, can be integrated with Nginx, Caddy, and other web servers over Fast CGI.
docker pull php:8.2.0RC6-fpm

Commit List

Arnaud Le Blanc

  • Fix generator memory leaks when interrupted during argument evaluation in GH-9756

Bob Weinand

  • Fix observing inherited internal functions in b30448f48f
  • Fix hardcoded paths in test in 4935e10fc8
  • Delay releasing closures until after observer end in 8e49d7f32f
  • Fix cross-compilation for copy_file_range in 5d7b64be1d

Christoph M. Becker

  • Fix GH-9829: Bug in refactoring Windows shmat() function in 1e3915c8c7
  • Fix potential NULL pointer dereference Windows shm*() functions in d1c9ff5642
  • Don't skip test on Windows due to missing ext/posix in 4c35d6440b

Derick Rethans

Dmitry Stogov

Florian Sowade

  • Initialize run time cache in PDO methods in GH-9818
  • Don’t report arginfo violations on fake closures in GH-9823
  • Don’t reset func in zend_closure_internal_handler in 8dabbda8bc

George Peter Banyard

  • Add missing EXTENSION section to tests in a4acba9e52

Ilija Tovilo

Jakub Zelenka

Kamil Tekiela

  • mysqli_query throws warning despite using silenced error mode in GH-9842
  • Add a temporary fix for insufficient buffer size in mysqlnd in GH-9835
  • Add NEWS entry for #9841 in 96049867d8
  • Add NEWS entry for #9841 in bce12f4e57

Martin Schröder

  • Properly deal with internal attributes used on promoted properties in fdd088fc81

Máté Kocsis

  • Do not display the value of UNKNOWN constants in the manual in GH-9843

Remi Collet

Sergey Panteleev

Tim Düsterhus

  • Fix pre-PHP 8.2 compatibility for php_mt_rand_range() with MT_RAND_PHP in GH-9839
Subscribe to PHP.Watch newsletter for monthly updates

You will receive an email on last Wednesday of every month and on major PHP releases with new articles related to PHP, upcoming changes, new features and what's changing in the language. No marketing emails, no selling of your contacts, no click-tracking, and one-click instant unsubscribe from any email you receive.