PHP 7.2.0alpha2: Downloads, Changelog, News

Release Information

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

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

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

Commit List

Anatol Belski

BohwaZ

  • Implement writing to BLOBs in SQLite3 in 208aea1e85
  • Change flags to use SQLITE3_OPEN_READ* constants instead of a fake-boolean, add tests on errors in 626ee74ee8

chance garcia

  • add test for strptime(): return false on failure in d3c593a585
  • Test ftp_ssl_connect() function : error conditions in 510230d3dc

Charles R. Portwood II

  • Compatibility with libargon2 versions 20161029 and 20160821 in 498716c2f7

Christopher Jones

Christoph M. Becker

Chuck Burgess

Dmitry Stogov

  • Removed unused variable in 6a024146bb
  • Avoid string reallocations in html_entity_decode() and htmlspecialchars_decode() in 68dc754998
  • preg_replace() optimization in 71daef93bc
  • Fixed wrong type in bdc37442bf
  • Improved new Zend Parameter Parsing API to avoid useless dereferences in ace9fe5317
  • Introduced "zif_handler" type (zif = zend internal function) in db4561bfff
  • Fixed performance degradaton introduced in f6ac96b in 1385784f54
  • Avoid run-time checks performed at compile-time in 8fe47a47cf
  • Fixed bug #74679 (Incorrect conversion array with WSDL_CACHE_MEMORY) in 648be8600f
  • Moved "Using $this when not in object context" exception code into single VM helper in 76db01d9ff
  • Refactored API for constant array element propagation in 8bb29704ea
  • VM refactoring, to avoid passing "execute_data" into helper functions that can access it using global register variable in bfa154448d
  • Optimization for fast path in 6fe75aad6d
  • Avoid useless dereferences and separations during paramter passing in 9c2a1f52a5
  • Fixed wrong usage of old ZPP API in 40ecad3402

Jakub Zelenka

  • Constify str in add_assoc_string_ex and add_assoc_stringl_ex in eb6614e458
  • Improve and simplify UTF-8 validation in JSON in f6ac96b039
  • Regenerate and bump re2c version to 0.16 in 887fabe78f

Jelle van der Waa

  • openssl: Fix spkstr and spki leak in openssl_spki_new in f19dfac830
  • openssl: Add opensslpkcs12(read, export) tests in 509f5097ab

Kalle Sommer Nielsen

  • Change PHP_OS_FAMILY to "Darwin" instead of "Mac" for Darwin based systems (as suggested by Davey) in a251d9b2c1

KoenigsKind

  • oci8 - Implementation of Oracle TAF Callback in 1b797f7ad3

Manuel Mausz

Michael Moravec

  • Bump Modules API number for 7.2 to distinguish from 7.1 in 586a22cbad

Mitch Hagstrand

  • BUG #74737: Incorrect ReflectionFunction information for mysqli_get_client_info in 7cb18b2a46

Niklas Keller

  • Use any TLS crypto method by default, don't use SSL in bec91e1117
  • Default single_dh_use and honor_cipher_order to true in 9badf35386

Remi Collet

Richard Fussenegger

Sara Golemon

  • Remove instructions to email internals-win@ in 5f05527393
  • Windows builds are no longer copied to downloads.php.net in 2a8381fb28
  • Create announcement entry on web-php even for non-stable in 30ad9bf530
  • X.Y.0 releases are more special than X.Y.(1+) releases in f2bf00ba1c
  • NEWS in c690916f5b
  • NEWS in e0403eb652
  • NEWS entries for 7.2.0alpha2 in 8b3d476f4d
  • Update versions for PHP 7.2.0alpha2 in 5cff98943f

Sebastian Bergmann

  • Use "Mac" instead of "OSX" to identify macOS in PHP_OS_FAMILY in 362d2e42a0

Tyson Andre

  • Fixes bug #74708 reflection signatures for random_bytes+random_int in 81b2533a68
  • Fixes bug #74705 Wrong ReflectionInfo for Collator::getSortKey() in 5f07a895cc

Xinchen Hui

ZiMuyang

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.