PHP 7.2.0RC1: Downloads, Changelog, News

Release Information

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

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

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

Commit List

Anatol Belski

Andrea Faulds

  • Fixed bug #75097 (gethostname fails if your host name is 64 chars long) in 61538ebadc
  • Retroactively correct NEWS omission in 799b52e87f

Christoph M. Becker

David Carlier

Derick Rethans

  • Upgrade timelib to 2017.05beta7 in bdd56f3107
  • Merged PHP-7.0 by hand due to conflicts in 584db6f38f
  • Remove removed header files from configuration files in 3df753c6ca
  • Added timelib version to phpinfo() in 7829f9b1d2
  • Fixed stupid test in 5d2c303438
  • Revert "Remove removed header files from configuration files." in 8af70958fc
  • Revert "Upgrade timelib to 2017.05beta7" in 60a6feed07
  • Fixed 32-bit tests as well in 43c78b2422
  • Do the revert properly, and put back fraction support in 7.1 in 7121b8d0a2

Dmitry Stogov

  • Skip 64-bit related test in 0f3e01f5cc
  • Made test 32/64-bit independent in 3bc1226804
  • Fixed possible incorrect result of type verification in b096eacdd1
  • Added few more jump threading optimisation patterns in db2807e4d2
  • More accurate reference counting inference in 3866c1699e
  • Fixed bug #75089 (preg_grep() is not reporting PREG_BAD_UTF8_ERROR after first input string) in ef90e37bd1

Frank Denis

  • sodium ext: If sodium_init() returns 1, this is fine in 3fff74aab5
  • sodium ext: Constants were renamed SODIUM_* in 271f0c4f90
  • sodium ext: sync sodium_crypto_kdf_derive_from_key() with the standalone ext in a966d21aa8
  • sodium ext: restore sodium_remove_param_values_from_backtrace() call in cf6f25bd37
  • sodium ext: add bindings for sodium_pad() and sodium_unpad() in 3691f36913
  • sodium ext: if it's a length, call it "length"! in 48907e57ff

Ingmar Runge

  • Fixed bug #74631 (PDO_PCO with PHP-FPM: OCI environment initialized before PHP-FPM sets it up) in 079bc324cd

Joe Watkins

John Boehr

  • Fix issues with phpt and EXTENSION on windows (BUG 75042) in 59558ffd96
  • Fix issues with phpt and EXTENSION on windows (BUG 75042) in 71b12940d0

Remi Collet

Sammy Kaye Powers

  • Change zend_parse_parameters() to zend_parse_parameters_throw() in ext/sodium in 0591fe2494
  • Remove param values from backtrace in exception thrown from ZPP throw in e8f552aeba
  • Fix constant references in error messages in ext/sodium in 56a999885a

Thomas Punt

Tianfang Yang

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.