PHP 7.2.10: Downloads, Changelog, News

Release Information

Release
7.2.10
PHP Version
PHP 7.2
Release Date
Release Type
Bug Fix Release
Release Status
EOL, Use PHP 7.2.34
Branch Status
Unsupported

PHP 7.2 reached EOL on , and all releases of this version no longer receive security or bug fixes. Using PHP 7.2.10 is not recommended. PHP 7.2.34 is the latest version in the series.

Downloads

Source Code

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

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

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

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

ChangeLog

Core

  • Fixed bug #76754 (parent private constant in extends class memory leak).
  • Fixed bug #72443 (Generate enabled extension).
  • Fixed bug #75797 (Memory leak when using class_alias() in non-debug mode).

Apache2

  • Fixed bug #76582 (Apache bucket brigade sometimes becomes invalid).

Bz2

  • Fixed arginfo for bzcompress.

gettext

  • Fixed bug #76517 (incorrect restoring of LDFLAGS).

iconv

  • Fixed bug #68180 (iconv_mime_decode can return extra characters in a header).
  • Fixed bug #63839 (iconv_mime_decode_headers function is skipping headers).
  • Fixed bug #60494 (iconv_mime_decode does ignore special characters).
  • Fixed bug #55146 (iconv_mime_decode_headers() skips some headers).

intl

  • Fixed bug #74484 (MessageFormatter::formatMessage memory corruption with 11+ named placeholders).

libxml

  • Fixed bug #76777 ("public id" parameter of libxml_set_external_entity_loader callback undefined).

mbstring

  • Fixed bug #76704 (mb_detect_order return value varies based on argument type).

Opcache

  • Fixed bug #76747 (Opcache treats path containing "test.pharma.tld" as a phar file).

OpenSSL

  • Fixed bug #76705 (unusable ssl => peer_fingerprint in stream_context_create()).

phpdbg

  • Fixed bug #76595 (phpdbg man page contains outdated information).

SPL

  • Fixed bug #68825 (Exception in DirectoryIterator::getLinkTarget()).
  • Fixed bug #68175 (RegexIterator pregFlags are NULL instead of 0).

Standard

  • Fixed bug #76778 (array_reduce leaks memory if callback throws exception).

zlib

  • Fixed bug #65988 (Zlib version check fails when an include/zlib/ style dir is passed to the --with-zlib configure option).
  • Fixed bug #76709 (Minimal required zlib library is 1.2.0.4).

Commit List

Anatol Belski

Christoph M. Becker

Dylan K. Taylor

  • mkdist.php: recursively check dll dependencies in b9bf9ddce6

Jakub Zelenka

  • Fix bug #76705 (unusable ssl => peer_fingerprint in stream_context_create()) in 4c542e6c13

Jay Bonci

Joe Watkins

Kevin Abel

  • Fix bug 76595: Update phpdbg man page in 91996e7ee5

Massimiliano Braglia

Peter Kokot

Remi Collet

Sara Golemon

sji

  • Fixed incorrect restoring of LDFLAGS in 0f557756dd

Tim Siebels

Tyson Andre

Ville Hukkamaki

Xinchen Hui

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.