PHP 7.4 reached EOL on , and all releases of this version no longer receive security or bug fixes. Using PHP 7.4.0RC6 is not recommended. PHP 7.4.33 is the latest version in the series.
Downloads
Source Code
Git Clone
Use Git to clone the 7.4.0RC6 tag from the PHP Git repository.
git clone https://github.com/php/php-src.git --depth 1 --branch php-7.4.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
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.4.0RC6-cli-alpine
Debian-based: More compatible with other components, complete, and are widely used.
docker pull php:7.4.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.4.0RC6-fpm-alpine
Debian-based ZTS Apache: Includes Apache web server integrating PHP as an Apache module.
docker pull php:7.4.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.4.0RC6-fpm
Commit List
Adam Saponara
- Remove dead code
ext/mysqlnd/mysqlnd_net.c
in 6c9821a531
Christoph M. Becker
- Skip test case on non Windows platforms in 22523958f4
- Fix #78762: Failing
FFI::cast()
may leak memory in 1e2d3d58a8 - Fix #78761: Zend memory heap corruption with preload and casting in 0055f1e3dc
- Fix test cases for libxml2 2.9.10 in e29922f054
- Make test more robust in 00c9c480eb
- Remove obsolete oniguruma.patch in 85874af404
- 7.3.13 is next in 4c9ba3e042
Derick Rethans
- Update versions for PHP 7.4.0RC6 in 585cebfc98
Fabien Villepinte
- Fix conflicts between tests with obscure filenames in 5367f36da7
- Fix conflicts between tests with obscure filenames in a0d58abb79
- Add a test for ReflectionClass:getInterfaceNames() in 6545f656be
- Make test runner runnable without arguments in 9c4b989c75
- Fix conflicts in windows ACL tests in ce41795a9f
Levi Morrison
- Wrap hrtime in
extern "c" {}
in b9dfa12853 - Wrap
php_random.h
in C++ portability macros in 4a55794b98
max
- Fix #78788: ./configure generates invalid
php_version.h
in 0988f69634
Nikita Popov
- Fixed bug #78689 in f9895b4bf5
- Add missing refcount increment in 5f6eaf355c
- Add UPGRADING note for
stream_read()
change in c76dbefe05 - Fix bug #77930: Remove mmap limit in 333d607d47
- Remove configure checks for supported instruction sets in edccf32f7f
- Fixed bug #78768 in 944c1cf034
- Explicitly specify ubuntu versions on azure pipelines in 4c717abad2
- Fixed bug #78774 in c9abfaec6b
- Revert "Remove configure checks for supported instruction sets" in 451314111b
- Fixed bug #78775 in 4f984a2fdb
- Fixed bug #78787 in 6d4965febd
- Remove bogus skipifs in get_browser tests in f494a36618
- Fixed bug #78759 in 5fa6dcd972
- Add UPGRADING note about default object from empty value in d3d85cbcc1
- Disable ifunc resolvers under thread sanitizer as well in dacadf5aa3
- Remove outdated comments in test in ee243bc471
- Fix
php_pcre_mutex_free()
in 6dcc0b859f
Sara Golemon
- Bump for 7.2.26-dev in d317e16e89
Simonov Denis
- Print Client Library Version in phpinfo in e84042cc72
Tyson Andre
- Optimize creation of empty arrays in json_decode in 447f07cd28