PHP 7.4 reached EOL on , and all releases of this version no longer receive security or bug fixes. Using PHP 7.4.13 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.13
./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.13-cli-alpine
docker pull php:7.4.13-cli
docker pull php:7.4.13-fpm-alpine
docker pull php:7.4.13-apache
docker pull php:7.4.13-fpm
ChangeLog
Core
- Fixed bug #80280 (ADD_EXTENSION_DEP() fails for
ext/standard
andext/date
). - Fixed bug #80258 (Windows Deduplication Enabled, randon permission errors).
COM
- Fixed bug #62474 (com_event_sink crashes on certain arguments).
DOM
- Fixed bug #80268 (loadHTML() truncates at NUL bytes).
FFI
- Fixed bug #79177 (FFI doesn't handle well PHP exceptions within callback).
IMAP
- Fixed bug #64076 (
imap_sort()
does not return FALSE on failure). - Fixed bug #76618 (segfault on imap_reopen).
- Fixed bug #80239 (
imap_rfc822_write_address()
leaks memory). - Fixed minor regression caused by fixing bug #80220.
- Fixed bug #80242 (
imap_mail_compose()
segfaults for multipart with rfc822).
MySQLi
- Fixed bug #79375 (mysqli_store_result does not report error from lock wait timeout).
- Fixed bug #76525 (mysqli::commit does not throw if MYSQLI_REPORT_ERROR enabled and mysqlnd used).
- Fixed bug #72413 (mysqlnd segfault (fetch_row second parameter typemismatch)).
ODBC
- Fixed bug #44618 (Fetching may rely on uninitialized data).
Opcache
- Fixed bug #79643 (PHP with Opcache crashes when a file with specific name is included).
- Fixed run-time binding of preloaded dynamically declared function.
OpenSSL
- Fixed bug #79983 (openssl_encrypt / openssl_decrypt fail with OCB mode).
PDO MySQL
- Fixed bug #66528 (No PDOException or errorCode if database becomes unavailable before
PDO::commit
). - Fixed bug #65825 (
PDOStatement::fetch()
does not throw exception on broken server connection).
SNMP
- Fixed bug #70461 (disable md5 code when it is not supported in net-snmp).
Standard
- Fixed bug #80266 (parse_url silently drops port number 0).
Commit List
Alexander M. Turek
- Fixed bug #80310: Support for icu4c 68.1 in 8eaaabdd58
Christoph M. Becker
- Fix #64076:
imap_sort()
does not return FALSE on failure in db8bf0a9e0 - Fix #80239:
imap_rfc822_write_address()
leaks memory in 5941b30bb8 - Fix broken fix for #80239 in 4b9db65f68
- Properly fix #80220 in 7f3bdda29b
- Add char* cast to avoid compiler warnings in de58fb34c9
- Fix #80242:
imap_mail_compose()
segfaults for multipart with rfc822 in 315b95b065 - Fix #80280: ADD_EXTENSION_DEP() fails for
ext/standard
andext/date
in 2be27074b6 - Fix #80258: Windows Deduplication Enabled, randon permission errors in 848e24f24d
- Fix #62474: com_event_sink crashes on certain arguments in 7424bfc7ac
- Fix #80268: loadHTML() truncates at NUL bytes in 6d2bc72530
- Revert "Fix out-of-bounds write" in be6d72b3a4
- Fix #79177: FFI doesn't handle well PHP exceptions within callback in f547412cba
- Fix #44618: Fetching may rely on uninitialized data in c21e901ba7
- Fix format specifier in ee3227af48
- Fix
bug79177.phpt
wrt. JIT in 0427dcb913 - Fix #70461: disable md5 code when it is not supported in net-snmp in 9690ded288
- Fix #80266: parse_url silently drops port number 0 in 2cab085bb3
- Split tests for compatibility with ICU 68.1 in 77b6e95d92
- 7.3.26 is next in b5ce6df0da
Derick Rethans
- Prepare for 7.4.13 in 8fd8a1b128
- Updated to version 2020.3 (2020c) in 7b5f232b03
- Empty merge in d8ff075f12
- Updated to version 2020.3 (2020c) in a4c1a43a5b
- Updated to version 2020.4 (2020d) in d4200ba6cf
- Empty merge in c7c87515f6
- Updated to version 2020.4 (2020d) in 4ea01bdc67
- Update version in 7.4 branch in 25643b56a2
- Prepare for 7.4.13 in 75c297d39a
- Update versions for PHP 7.4.13 in 3e2e0b5848
Dharman
- Fix bug #79375 in b03776adb5
- Handle mysqli errors in more cases in 990bb34891
- Fix bug #72413: Segfault with get_result and PS cursors in b5481defe6
Dmitry Stogov
- Fixed run-time binding of preloaded dynamically declared function in 68f80be9d1
George Peter Banyard
- Fix bug 76618 in 12a09183b3
- Fix bug 76618 in d5e2431884
Nikita Popov
- Allow passing $tag for non-authenticated encryption in 6c6a58e930
- Fix leak in
gmp_export()
in a29016d70d - Fix bug #79983: Add support for OCB mode in 750a74ed9c
- Fix CCM tag length setting for old OpenSSL versions in 1359f793ee
- Don't crash on uninitialized tidy object in d4bf0799b8
- Declare may_retry_reparse_point on windows only in 824cbc2781
- Deny cloning of fileinfo objects in 7817fc07e1
- Sync test with master in fe55fe1f54
- Fixed bug #66528 in 68dcaa29d8
- Fixed bug #65825 in a66d73db4b
- Retain QUIT_SEND connection state in 24537a73c0
- Report gone away error in one more place in 78b44ddeba
- Handle errors during PDO row fetch in 0044a81fbb
- Fix SSA integrity violation for type inference in dead code in 83738281eb
- Fix another implicit function declaration in configure in 00ba784a2c
- Fix dynamic function definition in preload script in e0d6c3f7ba
- Backport preloading trait fixup fixes in 6808968c89
- Fix phi use chain management when renaming variable in d971b67027
- Add integration test for symfony preloading in f419e049ff
twosee
- Fix bug #79643: Invalid memory read when opcache.interned_strings_buffer is 0 in d134c0ac05