PHP 7.2.0RC2: Downloads, Changelog, News

Release Information

Release
7.2.0RC2
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.0RC2 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.0RC2 tag from the PHP Git repository.
git clone https://github.com/php/php-src.git --depth 1 --branch php-7.2.0RC2
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.0RC2-cli-alpine

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

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

Commit List

Anatol Belski

Bouke van der Bijl

Christoph M. Becker

  • Fixed bug #75139 (libgd/gd_interpolation.c:1786: suspicious if ?) in e20a6b0213
  • Fixed bug #44995 (bcpowmod() fails if scale != 0) in dea41f3c3a
  • Fixed bug #54598 (bcpowmod() may return 1 if modulus is 1) in b2919853f8
  • Fixed bug #75178 (bcpowmod() misbehaves for non-integer base or modulus) in 44eec946e8
  • Fix bug75178.phpt on Windows in 3fd08a1595
  • Fixed bug #73730 (textdomain(null) throws in strict mode) in 4b746fce1c
  • [ci-skip] Add missing UPGRADING entry for commit 0d0f7cd in d95221ec4b
  • [ci-skip] Add NEWS entry for bug #75185 in 613bac9eb3
  • Fixed bug #46781 (BC math handles minus zero incorrectly) in 9aa6898b9b

Côme Chilliet

  • Removing client controls attribute from ldap_exop signature in e67379399a

Derick Rethans

Dmitry Stogov

  • Prevent duplicate debug output in 4f1c2c22ca
  • Fixed typo in ebb00c1e0f
  • Fixed incorrect optimizaton (update of jump instructions should be also reflected in CFG update) in db5b8dbcdf
  • Revert "Fixed incorrect optimizaton (update of jump instructions should be also reflected in CFG update)" in eb21300a26
  • Fixed incorect constant conditional jump elimination in ea734e2ac2
  • Fixed tests in b5935c339e
  • Fixed edge-case in SSA use/def chain construction and type inference in 384da65a97
  • Fixed SSA reconstruction in 251a5599b4

Dylan K. Taylor

  • Copy dependencies of the core DLL in nmake snap for statically-compiled extensions when packaging builds in 4e9c3e9396
  • Fix nmake install fails when there are no shared extensions in 2e77f5eed3
  • Fix LDFLAGS getting overwritten (ext/curl) in c3b0e68eb7

Frank Denis

  • ext/sodium: sort functions list in 6383c6e3d0
  • ext/sodium: AI_StringRef_And_String -> AI_StringRefAndString for consistency in b1a7885dd7
  • ext/sodium: the second parameter of sodium_hex2bin() is optional in 04c87ea815

Jakub Zelenka

  • Do not explicitly initialize and clean up OpenSSL for OpenSSL 1.1 in 58df6a3b61
  • Automatically load OpenSSL configuration file in 1f843a8fb5

jhdxr

  • fix bug #75173 incorrect behavior of AppendIterator::append in foreach loop in 3e11b7fc21

Ken Guest

  • Add test for invalid SoapFault parameters in 056df0dcb2

Nikita Popov

Remi Collet

Sammy Kaye Powers

  • Update NEWS that did not get updated in #2442 in f1fd11f4ca
  • Fix a few places where ZPP throw got reverted to ZPP in a8862d215c
  • Improve sodium "invalid parameters" error messages in b786e1b45c

Sara Golemon

  • Fix typo in zend_symtable_add_new() API name in f18cf46d07
  • Add BC define for users of the typoed zend_symbtable_add_new in 0413feb29c
  • Do not include BC for zend_symbtable_add_new on 7.2/master in 55562dfb00
  • Update versions for PHP 7.2.0RC2 in d15dea4fe8

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.