PHP 7.4 reached EOL on , and all releases of this version no longer receive security or bug fixes. Using PHP 7.4.9 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.9
./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.9-cli-alpine
docker pull php:7.4.9-cli
docker pull php:7.4.9-fpm-alpine
docker pull php:7.4.9-apache
docker pull php:7.4.9-fpm
ChangeLog
Apache
- Fixed bug #79030 (Upgrade apache2handler's
php_apache_sapi_get_request_time
to return usec).
COM
- Fixed bug #63208 (BSTR to PHP string conversion not binary safe).
- Fixed bug #63527 (DCOM does not work with Username, Password parameter).
Core
- Fixed bug #79877 (getimagesize function silently truncates after a null byte)
- Fixed bug #79740 (
serialize()
andunserialize()
methods can not be called statically). - Fixed bug #79783 (Segfault in
php_str_replace_common
). - Fixed bug #79778 (Assertion failure if dumping closure with unresolved static variable).
- Fixed bug #79779 (Assertion failure when assigning property of string offset by reference).
- Fixed bug #79792 (HT iterators not removed if empty array is destroyed).
- Fixed bug #78598 (Changing array during undef index RW error segfaults).
- Fixed bug #79784 (Use after free if changing array during undef var during array write fetch).
- Fixed bug #79793 (Use after free if string used in undefined index warning is changed).
- Fixed bug #79862 (Public non-static property in child should take priority over private static).
Fileinfo
- Fixed bug #79756 (finfo_file crash (FILEINFO_MIME)).
FTP
- Fixed bug #55857 (
ftp_size
on large files).
Mbstring
- Fixed bug #79787 (
mb_strimwidth
does not trim string).
OpenSSL
- Fixed bug #79881 (Memory leak in
openssl_pkey_get_public()
).
Phar
- Fixed bug #79797 (Use of freed hash key in the phar_parse_zipfile function). (CVE-2020-7068)
Reflection
- Fixed bug #79487 (::getStaticProperties() ignores property modifications).
- Fixed bug #69804 (::getStaticPropertyValue() throws on protected props).
- Fixed bug #79820 (Use after free when type duplicated into ReflectionProperty gets resolved).
Standard
Commit List
Andy Postnikov
- Fix bug #78008:
dns_check_record()
always return true on Alpine in 2c57378bd3
Christopher Broadbent
- Fixed bug #79820 in ee7c7a8e26
Christoph M. Becker
- 7.3 is now 7.3.21-dev in 91982bad63
- Fix #55857:
ftp_size
on large files in e94126aac7 - Fix #79487: ::getStaticProperties() ignores property modifications in a895bb6885
- Revert "Fix #79487: ::getStaticProperties() ignores property modifications" in f3cccfde9e
- Fix #79487: ::getStaticProperties() ignores property modifications in ef2130db88
- Fix #69804: ::getStaticPropertyValue() throws on protected props in 26aefb750a
- Fix potential environment variable deadlock in 32257ac17f
- Fix #79756: finfo_file crash (FILEINFO_MIME) in 816b4c1235
- Fix #63208: BSTR to PHP string conversion not binary safe in a385cfa7ad
- Fix #70362: Can't
copy()
large 'data://' withopen_basedir
in 7f3bc64287 - Extract test helper function for SeCreateSymbolicLinkPrivilege check in c49fb83c38
- Update
php_version.h
in 2ecb4680ad - Enable most lstatstat* tests on Windows in 1973ca21bd
- Enable readlinkrealpath* tests on Windows in 6f0b73345a
- Skip test if SeCreateSymbolicLinkPrivilege is not given in 1b961c0c42
- Fix tests for x86 Windows in a58d865f65
- Don't use deprecated curly brace offset syntax in 7ec3aa1871
- Don't use deprecated curly brace offset syntax in f23bd48892
- Prevent parallel test conflicts in db484b612d
- Enable symlink_link_linkinfo_islink* tests on Windows in 68293b19d4
- Fix skip reasons in 7edc5e5e39
- Enable further ext/standard/tests/file tests on Windows in 99aa5484e2
- Fix test for x86 Windows in e2c17cef4b
- Fix tests regarding negative
fileinode()
in dd1d1191e1 - Fix readlink related memory leak in 27bb0d9164
- Enable further tests on Windows in c1b5e7a9ab
- Fix #63527: DCOM does not work with Username, Password parameter in b2e3fd1e69
- 7.3 is now 7.3.22-dev in 2c0a6977dd
Derick Rethans
- PHP-7.4 is now 7.4.9-dev in 13f9f874a7
- Revert "Partial fixed bug #79649 (Altering disable_functions from module init corrupts memory)" in 972383fda4
- Prepare NEWS for final release in e7a3e0429d
- Prepare NEWS in 413dfcebe1
- Update versions for PHP 7.4.9 in b9ca291efb
Evgeny Stepanischev
- Fixed bug #79849 in ce149b0cb8
Herbert256
- Fixed bug #79030 Use usec from apache request time in 4a26628b29
Nikita Popov
- Restore
XFAIL
on fpm test in c4639a2deb - Handle 0 / 1 more consistently in 565baf05c0
- Fixed bug #79740 in c5caa05171
- Fixed bug #79741 in 43cd3f6814
- Don't inline static call to instance method in fabcd9f14e
- Fix leak when setting cyclic previous exception in finally in fc6f53d426
- Remove bogus generator iterator dtor in 187a72d563
- Allow different error message for errno 58 in 0a216f5edb
- Handle SO_ options only at SOL_SOCKET level in f1bf058d7c
- Fixed bug #79783 in 971e5c5186
- Fixed bug #79778 in b765f96f5f
- Fixed bug #79779 in 6a9d934b2c
- Fixed bug #79792 in 64931fd3c4
- Fixed bug #78598 in 220880ad2d
- Fixed bug #79784 in 62bec0e083
- Fixed bug #79793 in 77acc8a069
- Report len as -1 instead of INT_MAX in e6160e99d8
- Revert "Fixed bug #97599 (coredump in set_error_handler)" in a3cb612243
- Fix bug #79599 in a different way in 5795dfda93
- Switch back to FREE_UNFETCHED_OP_DATA in 8318379dd3
- Fixed bug #79817 in a72c53a070
- Fixed bug #79862 in e8430b592f
- Fix azure i386 build in 376968c7a7
- Revert "Drop freetype from i386" in bc6979b79e
- Fixed bug #79839 in 0c28b47154
Paweł Tomulik
- Fix some memory bugs in
ldap.c
in 23ef0a1285 - fix some ext/ldap/tests in c6ab3084df
- enable ext/ldap/tests on azure in b291c92693
Remi Collet
- #79657 was cherry-picked in 7.4.7 in 6ffe08d131
Sara Golemon
- Prep NEWS for 7.2.32 release in 9588c8474e
- Prep for 7.2.33 in c68d48de9e
twosee
- Fixed bug #79821 in 150504e6b1
- Fixed bug #79830 introduced by fixing bug #79821 in 56dec3cc73
- Fixed BC break of
php_debug_zval_dump
in f0b2c2cb98
XXiang
- Fix bug #79787 in 3d5de7d746