PHP 8.2.0RC4 is an old release of PHP 8.2 series. Using the latest version PHP 8.2.23 is highly recommended.
PHP 8.2 continues to receive bug fixes and security fixes until 2024-12-31.
Downloads
Source Code
Git Clone
Use Git to clone the 8.2.0RC4 tag from the PHP Git repository.
git clone https://github.com/php/php-src.git --depth 1 --branch php-8.2.0RC4
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.0RC4-x64NTS.zip (30.17 MiB)
php-8.2.0RC4-x86NTS.zip (27.08 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.0RC4-x64TS.zip (30.27 MiB)
php-8.2.0RC4-x86TS.zip (27.06 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.0RC4-cli-alpine
Debian-based: More compatible with other components, complete, and are widely used.
docker pull php:8.2.0RC4-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.0RC4-fpm-alpine
Debian-based ZTS Apache: Includes Apache web server integrating PHP as an Apache module.
docker pull php:8.2.0RC4-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.0RC4-fpm
Commit List
Alex Dowad
- Restore backwards-compatible mappings of U+005C and U+007E to SJIS-2004 in dd00e2f1e3
- In legacy text conversion filters, reset filter state in 'flush' function in 5812b4fe54
- Add regression test for problem with
mb_encode_mimeheader
reported as GH-9683 in faa5425b0f
Andy Postnikov
- Make socket path shorter for ext/sockets/tests/socketcmsg{rights|credentials}.phpt in c58241a003
Arnaud Le Blanc
- Return immediately when FD_SETSIZE is exceeded in GH-9602
Athos Ribeiro
- Revert unintended test expectation change in e6a822d437
Benoit Viguier
- Fix memory-leak in CLI web server in 58fc34ffb7
Bob Weinand
- Ensure driver specific PDO methods have a proper run_time_cache in 9be00e3935
Christoph M. Becker
- Use
--EXTENSIONS--
section for newly added tests in 47c79a97f5 gh9590.phpt
requiresext/posix
in 48ae3a0e3f- Remove support for libmysql-client from mysqli test suite in 62d393b1ed
- Fix GH-9589: dl() segfaults when module is already loaded in 6e0505bf27
David Carlier
- fix
php_init_crypt_r
/php_shutdown_crypt_r
signatures warning in 257f108924 - Fix GH-9566: disable assembly for Fiber on FreeBSD i386 in be53e5e5bb
Derick Rethans
- Prepare for 7.4.32 in 0b4e153394
- Prepare for next release in ad8d00b47b
- Updated to version 2022.4 (2022d) in d16b5d3803
- Empty merge in 0841b5af33
- Updated to version 2022.4 (2022d) in 0360e62cae
Dmitry Stogov
- Wrap JIT compiler with
zend_try
to recover in case of memory overflow in 2568db287d - Keep original EG(jit_trace_num) value around __autoload() in f7d0a3e0e0
- Force exit to VM in aa179bf3dd
- Fix abstract trace consisency for FE_FETCH instruction in 5ca4113386
- Fix GH-9626: JIT type assertion failure in Symfony community build in ec5882e1c3
- Fix register allocation (missing store) in ed652a514f
- Fix typo in 072dc3c857
- Fix GH-9697:
array_walk
($ffiInstance, function () {}) crashes due to expecting mutable array in d9651a9419
George Peter Banyard
- Add support for binary and octal number prefixes for INI settings in 0d19ae4068
- Fix UPGRADING by adding DBA constants in a8d6ca4ef1
- Move object/class redundancy check into union type handling in 74ae498a4b
- Fix GH-9556 "iterable" alias "array|Traversable" breaks PHP 8.1 code in c801076d8b
- Follow-up fix for GH-9655 in 01eb06a0de
- Actually fix GH-9583 in 499fbcd679
HypeMC
- Fix GH-9655: Allow pure intersection types to be implicitly nullable in 279ffdb598
Ilija Tovilo
- Fix invalid label before } in 0aa5adb143
- Fix PHP-8.0 skipping for some jobs in 958955e62a
- Skip some OCI tests with repeat in 93e509fd8c
- Fix PHP-8.0 skipping for community steps in 03a48b1209
- And also update the branch ref in f518ae50aa
- Skip Symfony preloading for PHP-8.0 in f49709a544
- [skip ci ] Rename matrix-include output on old branches in f3dba7e642
- Replace reallocarray with safe_perealloc in 138fd5b3c8
- Add empty default params to nightly linux matrix in 26499f53fb
- Increase job timeout for ASAN/UBSAN build in 2c8f2e9349
Jakub Zelenka
- Improve CS in FPM Tester Response in 1ed4303957
- Do not check X-Powered-By header in FPM tester if expose_php off in 8e1cef4341
Michael Voříšek
- Prepare for Windows CI with Github Actions in b43e49437c
Máté Kocsis
- Generate constant declarations with the CONST_CS flag for PHP 7.x in 69ef3247fd
Remi Collet
- add missing CVEs in b0cc5ed91f
- add missing CVEs in 12c3636d01
Sergey Panteleev
- Update versions for PHP 8.2.0RC4 in e02aeaf0b0
Tim Düsterhus
- Reduce scope of
r
in rand_rangeXX in GH-9678