PHP 7.4 reached EOL on , and all releases of this version no longer receive security or bug fixes. Using PHP 7.4.16 is not recommended. PHP 7.4.33 is the latest version in the series.
Downloads
Source Code
git clone https://github.com/php/php-src.git --depth 1 --branch php-7.4.16
./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
docker pull php:7.4.16-cli-alpine
docker pull php:7.4.16-cli
docker pull php:7.4.16-fpm-alpine
docker pull php:7.4.16-apache
docker pull php:7.4.16-fpm
ChangeLog
Core
- Fixed #80706 (
mail()
: Headers after Bcc headers may be ignored).
MySQLnd
- Fixed bug #78680 (mysqlnd's mysql_clear_password does not transmit null-terminated password).
MySQLi
- Fixed bug #74779 (x() and y() truncating floats to integers).
OPcache
- Fixed bug #80682 (opcache doesn't honour pcre.jit option).
OpenSSL
- Fixed bug #80747 (Providing RSA key size < 512 generates key that crash PHP).
Phar
- Fixed bug #75850 (Unclear error message wrt. __halt_compiler() w/o semicolon)
- Fixed bug #70091 (Phar does not mark UTF-8 filenames in ZIP archives).
- Fixed bug #53467 (Phar cannot compress large archives).
SPL
- Fixed bug#80719 (Iterating after failed
ArrayObject::setIteratorClass()
causes Segmentation fault).
Standard
- Fixed bug #80654 (
file_get_contents()
maxlen fails above (2**31)-1 bytes).
Zip
- Fixed bug #80648 (Fix for bug 79296 should be based on runtime version).
Commit List
Christoph M. Becker
- Add missing
SKIPIF
clauses to new test cases in 4c1b3e3036 - Fix #80648: Fix for bug 79296 should be based on runtime version in 6adfb8c962
- Add missing
SKIPIF
clause for recently introduced test case in edb389730d - Fix #75850: Unclear error message wrt. __halt_compiler() w/o semicolon in 61ed904cec
- Update version in 94af11d5e1
- Fix #70091: Phar does not mark UTF-8 filenames in ZIP archives in 6a0b889f57
- Alternative fix for bug 77423 in 4a89e726bd
- Fix #80654:
file_get_contents()
maxlen fails above (2**31)-1 bytes in 7e9479083d - Revert "Updated to version 2021.1 (2021a)" in 57257a4335
- 7.3.28 is next in 039ca4e219
- Fix #53467: Phar cannot compress large archives in 1bb2a4f91c
- Fix #74779: x() and y() truncating floats to integers in 3f8d21b922
- Use ST_Y() instead of the deprecated/removed Y() in test in 4ff2665509
- Fix #80706:
mail()
: Headers after Bcc headers may be ignored in ca7547c9e2 - Fix locale dependent parsing of PostgreSQL version number in 03713ace23
- Avoid C4090 level 1 warning in 4f508003a9
Daniel Black
- Fix #78680: mysqlnd pam plugin missing terminating null in 3646604203
Derick Rethans
- Update NEWS and version in a33d0c3aae
- Updated to version 2021.1 (2021a) in 491488d217
- Empty merge in 072cfef1d5
- Updated to version 2021.1 (2021a) in 3f183bbcf8
- Prepare for 7.4.16 in 49c3ebfe2c
- Update versions for PHP 7.4.16 in ac47162add
Nikita Popov
- Fix build in ab8177de2c
- Fix Laravel build on community job in 217b9e7b41
- Fix persistent leak on load_wsdl_ex failure in 51d76c346e
- Add missing derefs in CurlFile in 54fa0a69f8
- Fix newly introduced compiler warning in 06c9633b43
- Try SIGTERM before SIGKILL in opcache restart in 8b7aaad7d6
- Fixed bug #80719 in c34c523467
- Fix leak when breaking out of FilesystemIterator in 44a80b64b9
- Fix symtable cache being used while cleaning symtable in 7b7d99839c
- Fixed bug #80747 in 64b1085464
- Suppress OpenSSL error on missing optional config in 7566742754
Peter Kokot
- Update year to 2021 in 8c04944b66
Remi Collet
- Fix #80682 opcache doesn't honour pcre.jit option in 067f7e4150
- NEWS in aeb4f21549
Stanislav Malyshev
- Rm unneeded function in 9c673083cd
- Fix bug #80672 - Null Dereference in SoapClient in 3c939e3f69