PHP 8.2.0RC4: Downloads, Changelog, News

Release Information

Release
8.2.0RC4
PHP Version
PHP 8.2
Release Date
Release Type
Bug Fix Release
Release Status
Use PHP 8.2.18 instead
Branch Status
Supported

PHP 8.2.0RC4 is an old release of PHP 8.2 series. Using the latest version PHP 8.2.18 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.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 (./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
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

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 requires ext/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

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

HypeMC

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

Sergey Panteleev

Tim Düsterhus

  • Reduce scope of r in rand_rangeXX in GH-9678
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.