PHP 7.2 reached EOL on , and all releases of this version no longer receive security or bug fixes. Using PHP 7.2.0RC6 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.0RC6 tag from the PHP Git repository.
git clone https://github.com/php/php-src.git --depth 1 --branch php-7.2.0RC6
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.0RC6-x64NTS.zip (24.3 MiB)
php-7.2.0RC6-x86NTS.zip (22.65 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.0RC6-x64TS.zip (24.43 MiB)
php-7.2.0RC6-x86TS.zip (22.71 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.0RC6-cli-alpine
Debian-based: More compatible with other components, complete, and are widely used.
docker pull php:7.2.0RC6-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.0RC6-fpm-alpine
Debian-based ZTS Apache: Includes Apache web server integrating PHP as an Apache module.
docker pull php:7.2.0RC6-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.0RC6-fpm
Commit List
Anatol Belski
- Parametrize the expected value to avoid platform false positives in 45ac5edbd9
- Don't create plist files when using clang analyzer in 8ad4de887f
- Binary SDK 2.0.12 stable in 9eb6f86765
- Backport and apply upstream patch for CVE-2017-14107 in f6e8ce8121
- Apply upstream patch for CVE-2017-14107 in 10dc1950f7
- Fix test compat for PostgreSQL 10 in 24b1bb0abd
- Skip test on PostgreSQL 10 in 15a71fe045
- Re-enable AppVeyor cache in 123b1d79eb
- Catch with the latest AppVeyor unzip errors in 741efa7807
- Remove status check on the SDK repo and add version check in bc410c2609
- Don't use the cache dependency, SDK version is handled in script in 591e811a35
- Fix SDK version comparison and add more verbosity in c6e8c2bc9f
- Fix fetching the SDK version in 7bf2947016
- Ensure SDK is checked out before asking for version in e305e8fb7a
- Yet one attempt to mitigate the unzip error on AppVeyor in 7ea44da104
- Add missing ICU version check in 68c500421c
- Add /nologo in 164167f3da
- Fix year in 8a3e2a6b14
- Yet one /nologo in f5358c0e23
- Sync and fix tests for ICU 60.1 compat in dbfa0140ae
- Update libs_version.txt in c3be49e07d
- 7.0.27 next in bc7d4dc523
Christoph M. Becker
- Scale support for
bcmod()
in b152633ecb
David Carlier
- date module, replacing abs call with the llabs's like one due to bigger type in c189845951
Dmitry Stogov
- Fixed indirect modification of magic method arguments in bc59289b7a
- Backport tests in 502cfddf28
- Fixed indirect modification of magic ArrayAccess method arguments in 98eee90734
- Fixed type inference in 230e505fd8
Fabien Villepinte
- Fix bug #75437 Wrong reflection on imagewebp in 0fbb9f343f
- Fix the
SKIPIF
part in /ext/gd/tests/bug75437.phpt
in e763a1cdc7 - Fix typo in comments in 578ba71b3b
- Fix bug #75307 Wrong reflection for openssl_open function in 51ea2cfbe1
- Fix bug #75434 Wrong reflection for mysqli_fetch_all function in 938f256ed9
- Fix bug #75453 Incorrect reflection on ibase_connect and ibase_pconnect in e6aea3dc78
- Fix bug #75464 Wrong reflection on SoapClient::__setSoapHeaders in a308000ff2
Ferenc Kovacs
- fix the travis build for PHP-5.6 using precise instead of trusty in 9839d3a953
- fix the travis build for PHP-5.6 using precise instead of trusty in 787e3a1ee4
- use trusty explicitly in b53fb886a4
- 5.6.33 is next in f600785f65
Jakub Zelenka
- Extend openssl_x509_fingerprint test to cover resource cert with sha1 in be0758b75a
- Extend openssl_x509_check_private_key to test resource cert in d23d4fd61b
- Rename and test resource cert in openssl_x509_checkpurpose test in c1d98588a2
- Extend openssl_x509_parse to cover cert resource in cd66aad141
- Set different invalid path in openssl_pkcs12_export so it is more unlikely to exist in 80191eebec
- Extend openssl_csr_sign test to cover cert resource in 628a52d365
- Fix cleaning tmp output file in openssl_csr_export_to_file test in 55d92413b9
- Extend opensslpkcs7* tests to cover resource cert in 548798818b
- Add openssl_csr_get_public_key test in 528aa540b4
- Rewrite openssl_csr_get_subject test to improve coverage in e78e839e53
- Extend and speed up pkey export tests in d8ccffa79a
- Prevent leaking x509 and csr resources if it is not requested in fc169d2133
Jelle van der Waa
- openssl: add basic openssl_csr_export_to_file tests in 5812f7a8d3
Joe Watkins
- make sure run-tests reports exit status upon prerequisite error in 59d413ceb8
Michael Moravec
- Revert BC break caused by fixing bug #74035 in f70ca770b6
MITSUNARI Shigeo
- fix wrong check of definition_phi->constraint.range.max_ssa_var in 21dbd2ffcd
Nikita Popov
- Fix
ext/soap/tests/bug69137.phpt
in d88ef8d7e1
Rasmus Lerdorf
- These tests all assume that IPV6 is available in ad7ed6fe21
Sara Golemon
- Don't optimize input arrays with suffix holes in cc96166f74
- Update versions for PHP 7.2.0RC6 in fb33ebf641
Simon JAILLET
- Fixes #68948 related to a BC break introduced by #68532 fix in 5060fc2349
Tyson Andre
- Mention spl_object_id in UPGRADING notes in 88e94a0bd1
- Fix proto documents for new global functions in 5cdf37e603
Xinchen Hui
- Fixed bug #75420 (Crash when modifing property name in __isset for BP_VAR_IS) in d2047503cb
- Update NEWS in 7d3c057bd1
- Update NEWS in ed02dce2a4
- Fixed test in eaeccc1d99
- Use abbrev in d9de0f8683