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 (
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.0RC2-x64NTS.zip (23.67 MiB)
php-7.2.0RC2-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.0RC2-x64TS.zip (23.79 MiB)
php-7.2.0RC2-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.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
- Fix symbol name in 752fc86f2b
- Extend ignore list for DLLs to not to look after in 6ec494016b
- Make for exclusion per regex in a86df6bcb0
- Yet one DLL to ignore in fb597a8123
- Fixed bug #75143 new method setEncryptionName() seems not to exist in ZipArchive in a6456f0a6c
- Fix command in 24da62d342
- libzip 1.3.0 supports also bz2 compression in b971087354
- Fix test compatibility with libxml2 2.9.5 in 5f9ae45e22
- Fix test portability in d33194d2aa
- Fix test compat with libxml2 2.9.5 in 3549d9184a
- Fix test compat with libxml2 2.9.5 in cab41ecb93
- Add symbol to libxml exports in 04a6bbae6c
- Fork test to keep up with libxsl >= 1.1.30 in d103802003
- Move dev to 7.0.25 in 5cf215536b
Bouke van der Bijl
- Fixed bug #70470 in cd9d90f4d4
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
- Upgrade timelib to 2017.05beta9 in c0383b5039
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 6383c6e3d0ext/sodium
: AI_StringRef_And_String -> AI_StringRefAndString for consistency in b1a7885dd7ext/sodium
: the second parameter ofsodium_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
- Revert "Fixed #74977 - Appending AppendIterator leads to segfault" in b689857d53
- Add test for bug #75155 in c2e3541cc1
- Fix assertion failure in SoapFault ctor in dc00b6cf3f
- Add missing null termination in 42549b7844
- Fixed bug #75170 in fd07302024
Remi Collet
- move AC_DEFINE in the right position (in bundled lib conditon) in 3239f6d679
- improve warn (bzip2 requires libzip >= 1.3.0) in 5bbd459609
- Fixed Bug #75149 redefinition of typedefs ttinfo and t1info in a1bf36778a
- NEWS in 6355e650f7
- Fixed bug #75142 buildcheck.sh check for autoconf version needs to be updated for v2.64 in e967de6bfa
- NEWS in 81ad6a978a
- UPGRADING in 7378967206
- Fixed bug #75193 segfault in collator_convert_object_to_string in b09497c0e2
- drop symbol definition, and not defined anywhere in 35deb4c88b
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
- Fixed bug #75152 (signed integer overflow in parse_iv) in 6b2813c3a7
- Update NEWS in 8cb0627325
- Not sure why these lines are removed :< in c40c0b8111
- Fixed arginfo for get_defined_functions in 58aa726548