PHP 8.3.8: Downloads, Changelog, News

Release Information

Release
8.3.8
PHP Version
PHP 8.3
Release Date
Release Type
Security Update
Release Status
Use PHP 8.3.9 instead
Branch Status
Supported (Latest)

PHP 8.3.8 is an old release of PHP 8.3 series. Using the latest version PHP 8.3.9 is highly recommended.
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.8 tag from the PHP Git repository.
git clone https://github.com/php/php-src.git --depth 1 --branch php-8.3.8
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.8-cli-alpine

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

Debian-based ZTS Apache: Includes Apache web server integrating PHP as an Apache module.
docker pull php:8.3.8-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.8-fpm

ChangeLog

CGI

CLI

  • Fixed bug GH-14189 (PHP Interactive shell input state incorrectly handles quoted heredoc literals.).

Core

  • Fixed bug GH-13970 (Incorrect validation of #[Attribute] flags type for non-compile-time expressions).

DOM

  • Fix crashes when entity declaration is removed while still having entity references.
  • Fix references not handled correctly in C14N.
  • Fix crash when calling childNodes next() when iterator is exhausted.
  • Fix crash in ParentNode::append() when dealing with a fragment containing text nodes.

Filter

FPM

  • Fix bug GH-14175 (Show decimal number instead of scientific notation in systemd status).

Hash

  • ext/hash: Swap the checking order of __has_builtin and __GNUC__

Intl

  • Fixed build regression on systems without C++17 compilers.

MySQLnd

  • Fix bug GH-14255 (mysqli_fetch_assoc reports error from nested query).

Opcache

  • Fixed bug GH-14109 (Fix accidental persisting of internal class constant in shm).

OpenSSL

  • The openssl_private_decrypt function in PHP, when using PKCS1 padding (OPENSSL_PKCS1_PADDING, which is the default), is vulnerable to the Marvin Attack unless it is used with an OpenSSL version that includes the changes from this pull request: https://github.com/openssl/openssl/pull/13817 (rsa_pkcs1_implicit_rejection). These changes are part of OpenSSL 3.2 and have also been backported to stable versions of various Linux distributions, as well as to the PHP builds provided for Windows since the previous release. All distributors and builders should ensure that this version is used to prevent PHP from being vulnerable.

Standard

XML

  • Fixed bug GH-14124 (Segmentation fault with XML extension under certain memory limit).

XMLReader

  • Fixed bug GH-14183 (XMLReader::open() can't be overridden).

Commit List

Benjamin Cremer

  • Fix GH-14175: Use two digit float specifier for FPM systemd format req rate in 5b6cda6523

Calvin Buckley

  • Fix check for newer versions of ICU in GH-14186

David Carlier

  • sapi/cgi: fix buffer limit on windows in 74843947f4

Derick Rethans

Dmitry Stogov

  • Fix undefined behavior (left shift of negative number) in f0356612d9
  • Fix prototype for trait methods in GH-14148
  • Fix incorrect inheritance of private trait methods in GH-14163

Eric Mann

Gina Peter Banyard

  • ext/bcmath: Fix [-Wenum-int-mismatch] compiler warning in d775ba8804
  • ext/ffi: Fix [-Wenum-int-mismatch] compiler warning in 554541c4db
  • ext/gd: Fix [-Wcalloc-transposed-args] compiler warning in 3c45152798
  • ext/pdo_mysql: Fix [-Wcalloc-transposed-args] compiler warning in d4accd8b12
  • ext/readline: Fix [-Wcalloc-transposed-args] compiler warning in 0accfd1fe1

Ilija Tovilo

Kamil Tekiela

Marcus Xavier

Matteo Beccati

  • Stick to mysql 8.3 for the time being in 6fed9a9a7e

Niels Dossche

Peter Kokot

Saki Takamachi

SakiTakamachi

  • Cast the parameter type of arm BLOCKCONV_LOAD in GH-14159

Tim Düsterhus

  • CI: Do not save the ccache for PRs in GH-14168
  • CI: Do not save the ccache for PRs (8.3+) in 402f3a923f
  • Make the fcc parameter const in zend_call_known_fcc in GH-14259

twosee

  • Fix zend_string_starts_with_literal_ci in GH-14137

武田 憲太郎

  • Fix the MySQL Server version used for testing to in GH-14120
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.