PHP 7.2 reached EOL on , and all releases of this version no longer receive security or bug fixes. Using PHP 7.2.0RC3 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.0RC3 tag from the PHP Git repository.
git clone https://github.com/php/php-src.git --depth 1 --branch php-7.2.0RC3
How to compile PHP
PHP can be compiled by setting up the dependencies, building the configure script (
Detailed articles on how to compile PHP are available for Ubuntu/Debian based systems and Fedora/RHEL based systems.
./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.
php-7.2.0RC3-x64NTS.zip (23.68 MiB)
php-7.2.0RC3-x86NTS.zip (22.04 MiB)
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.
php-7.2.0RC3-x64TS.zip (23.82 MiB)
php-7.2.0RC3-x86TS.zip (22.11 MiB)
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.0RC3-cli-alpine
Debian-based: More compatible with other components, complete, and are widely used.
docker pull php:7.2.0RC3-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.0RC3-fpm-alpine
Debian-based ZTS Apache: Includes Apache web server integrating PHP as an Apache module.
docker pull php:7.2.0RC3-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.0RC3-fpm
Commit List
Anatol Belski
- Fix test failure on 32-bit in 7674b5e574
- Fixed bug #75018, fixed bug #75177 in 3d93856c4a
- Move to next binary SDK version for AppVeyor in 7910c1dee9
- Update lib_versions.txt in 7670590efd
- Fix the version check causing the test fail in 9641586efa
- Fix thread safety in da2f581833
Andrea Faulds
- Fix bug #75236 in 418f97443a
Christoph M. Becker
- Fixed bug #73629 (
SplDoublyLinkedList::setIteratorMode
masks intern flags) in eedc060c92
Dmitry Stogov
- Properly update string type flags in 99b1a62d55
- Fixed test in 2874fa8fb0
- Revert "Properly update string type flags" in 83d8ebc991
- Fixed memry leaks (free arg_info of internal functions with type hints) in 10a7f2cf62
- Properly update string type flags in d7a10f0e32
- Fixed ZTS build (disable deallocation of arg_info of internal functions with type hints) in 168ec3a6e1
- Fixed bug #74878 (Data race in ZTS builds) in 41e5f916bf
- Fixed optimization (the bug caused endless-loop on
micro_bench.php
in master branch) in 084e34098a - Use private names for new libpcre symbols in 5ef10d08ec
- Fixed NOP removal (empty blocks should be shifted as well) in 6544ec5460
- Using "enum" types as bit-fields is not portable in 28391b9e7f
- Fixed type inference in d526ddec85
- Added missed ~ in 550595c085
Frank Denis
ext/sodium
: throw an exception if only the prefix of a hex string is valid in fd86fdd7b8ext/sodium
: avoid negations on unsigned values in 8a52a61e3a
Joe Watkins
- bump versions in 7f01872a24
Nikita Popov
- Fixed bug #75252 in 73d6456d7d
- Create $http_response_header even if not used in 3a4db74ee4
Peter Kokot
- Fix
PHP_GD_TTSTR
: command not found warning inext/gd
in 8c85d7b732 - Remove some old sapi/apache_hooks and sapi/apache leftovers in 3752d18ffe
Remi Collet
- fix tests for 32-bit in d99cd28925
- Fixed Bug #75212
php_value
acts likephp_admin_value
in cfc6c4d297 - NEWS in 7d5c0f1906
- rename test in ee84f34344
- Update versions for PHP 7.2.0RC3 in 31216a0d86
Xinchen Hui
- Compiler warning in db63367871
- Fixed bug #75241 (Null pointer dereference in
zend_mm_alloc_small()
) in b05ff14a9a - Update NEWS in 634f79d8d8
- Update NEWS in ccc0a92504
- Fixed bug #75230 (Invalid opcode 49/1/8 using opcache) in ed2a5ebaeb