PHP 8.3.20: Downloads, Changelog, News

Release Information

Release
8.3.20
PHP Version
PHP 8.3
Release Date
Release Type
Security Update
Release Status
Latest Release in 8.3
Branch Status
Supported

Latest release for PHP 8.3. This release contains security fixes, and it is recommended to update as soon as possible.
PHP 8.3 continues to receive bug fixes and security fixes until 2025-12-31.

Downloads

Source Code

Git Clone
Use Git to clone the 8.3.20 tag from the PHP Git repository.
git clone https://github.com/php/php-src.git --depth 1 --branch php-8.3.20
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.3.20-cli-alpine

Debian-based: More compatible with other components, complete, and are widely used.
docker pull php:8.3.20-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.3.20-fpm-alpine

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

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

ChangeLog

Core

  • Fixed bug GH-17961 (use-after-free during dl()'ed module class destruction).
  • Fixed bug GH-15367 (dl() of module with aliased class crashes in shutdown).
  • Fixed bug GH-13193 again (Significant performance degradation in 'foreach').

DOM

  • Fix weird unpack behaviour in DOM.
  • Fix xinclude destruction of live attributes.

Embed

  • Fixed bug GH-8533 (Unable to link dynamic libphp on Mac).

Fuzzer

  • Fixed bug GH-18081 (Memory leaks in error paths of fuzzer SAPI).

GD

  • Fixed bug GH-17984 (calls with arguments as array with references).

Intl

  • Fix locale_compose and locale_lookup to work with their array argument with values as references.
  • Fix dateformat_format when the time is an array of references.
  • Fix UConverter::transcode with substitutes as references.

Mbstring

  • Fixed bug GH-17989 (mb_output_handler crash with unset http_output_conv_mimetypes).

Opcache

  • Fixed bug GH-18112 (NULL access with preloading and INI option).
  • Fixed bug GH-18107 (Opcache CFG jmp optimization with try-finally breaks the exception table).

PDO

  • Fix memory leak when destroying PDORow.

SOAP

  • Fixed bug #66049 (Typemap can break parsing in parse_packet_soap leading to a segfault) .

SPL

  • Fixed bug GH-18018 (RC1 data returned from offsetGet causes UAF in ArrayObject).

Treewide

  • Fixed bug GH-17736 (Assertion failure zend_reference_destroy()).

Windows

  • Fixed bug GH-17836 (zend_vm_gen.php shouldn't break on Windows line endings).

Commit List

Arnaud Le Blanc

  • Destroy temporary module classes in reverse order in 1c182674b0
  • Disable ZEND_RC_MOD_CHECK() while loading shared extension in FPM in c531f3d79b

Calvin Buckley

  • Attempt at ppc64 CI in GH-17945
  • Skip mysqli/tests/bug73462 on PPC CI in GH-17971
  • Remove "Notify Slack" on ppc nightly workflow in GH-17993

Daniel Scherzer

David Carlier

  • Fix GH-17921 socket_read/socket_recv overflows on buffer size in 8cbc0c57b7
  • Fix GH-17984: gd calls with array arguments in 07ceadf7d9
  • ext/intl: fix locale_compose/locale_lookup to be able to deal with references in c3fc94c4b8
  • ext/intl: Fix dateformat_format when the time is an array of references in f34859cb90
  • ext/intl: Fix Uconverter::transcode with substitutes as references in 005c7b5797

Derick Rethans

Eric Mann

Ilija Tovilo

  • Upgrade i386 branch to Ubuntu 22.04 in 294888053a
  • Fix flaky DatePeriod test in 8a699372f2
  • Upgrade security branches to Ubuntu 22.04 in 5fcc8d4cd1
  • Suppress snmp lib memory leak, skip ASAN tests in b0858427aa
  • Increase CircleCI no_output_timeout in ee7fcf2a07
  • Use-after-free for ??= due to incorrect live-range calculation in ef2c459941
  • Fix flaky connection count in mysqli test in 00ebd2d7f2
  • Backport intl test changes for ICU 77 in d4c548cf42

Jakub Zelenka

Katherine456719

Kévin Dunglas

Niels Dossche

Remi Collet

Tim Düsterhus

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.

Support PHP.Watch — If you find the articles, version information, Codex, and other PHP.Watch contributions useful, consider supporting through GitHub Sponsors. Your sponsorship helps dedicate more time to creating valuable content and improving the PHP community. Together, we can keep the momentum going — thank you for your support!

Thanks to the highest tier sponsor: @TomasVotruba for your generous support to keep PHP.Watch moving 💜