PHP 8.2.0RC6 is an old release of PHP 8.2 series. Using the latest version PHP 8.2.11 is highly recommended.
PHP 8.2 continues to receive bug fixes and security fixes until 2024-12-08.
Downloads
Source Code
Git Clone
Use Git to clone the 8.2.0RC6 tag from the PHP Git repository.
git clone https://github.com/php/php-src.git --depth 1 --branch php-8.2.0RC6
How to compile PHP
PHP can be compiled by setting up the dependencies, building the configure script (
Detailed articles on how to compile PHP are available for Ubuntu/Debian based systems and Fedora/RHEL based systems.
./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.
php-8.2.0RC6-x64NTS.zip (30.17 MiB)
php-8.2.0RC6-x86NTS.zip (27.09 MiB)
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.
php-8.2.0RC6-x64TS.zip (30.28 MiB)
php-8.2.0RC6-x86TS.zip (27.07 MiB)
Docker/Podman Containers
PHP CLI
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
- Bumb versions in 004cb82750
- Updated to version 2022.6 (2022f) in 2b5bed904e
- Empty merge in 65f31a49cd
- Updated to version 2022.6 (2022f) in bee083e2b8
- Empty merge in 271361d44a
- Updated to version 2022.6 (2022f) in 605136204e
Dmitry Stogov
- Fix memory leak in 482ae71fda
- Fix memory leak in f31f464cec
- Don't check "fake" closures (fix assertion) in 05b63b1593
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
- Remove unnecessary ast eval bailout in 1d6b32f65c
- Fix fake closure leaking when called from internal func in cc9dddea38
- Migrate i386 to GitHub actions in 75970077b0
- Fix duplicate
SKIPIF
section in d2c663441d - Fix ext section in bca1e1f557
- Really fix test this time in 35167af771
Jakub Zelenka
- Fix GH-9754: SaltStack hangs when running php-fpm 8.1.11 in 1c5844aa3e
- Fix GH-9770: Add small timeout in status-listen test in 8229649045
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
- move CVEs in 8.0.25 changelog in db28ee8fd0
- move CVEs in 8.1.12 changelog in c84d7cc27e
Sergey Panteleev
- Update versions for PHP 8.2.0RC6 in 5dd1ffbe91
Tim Düsterhus
- Fix pre-PHP 8.2 compatibility for
php_mt_rand_range()
with MT_RAND_PHP in GH-9839