PHP 7.4 reached EOL on , and all releases of this version no longer receive security or bug fixes. Using PHP 7.4.10 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.10
./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.10-cli-alpine
docker pull php:7.4.10-cli
docker pull php:7.4.10-fpm-alpine
docker pull php:7.4.10-apache
docker pull php:7.4.10-fpm
ChangeLog
Core
- Fixed bug #79884 (
PHP_CONFIG_FILE_PATH
is meaningless). - Fixed bug #77932 (File extensions are case-sensitive).
- Fixed bug #79806 (
realpath()
erroneously resolves link to link). - Fixed bug #79895 (
PHP_CHECK_GCC_ARG
does not allow flags with equal sign). - Fixed bug #79919 (Stack use-after-scope in
define()
). - Fixed bug #79934 (CRLF-only line in heredoc causes parsing error).
- Fixed bug #79947 (Memory leak on invalid offset type in compound assignment).
COM
- Fixed bug #48585 (com_load_typelib holds reference, fails on second call).
Exif
- Fixed bug #75785 (Many errors from exif_read_data).
Gettext
- Fixed bug #70574 (Tests fail due to relying on Linux fallback behavior for
gettext()
).
LDAP
- Fixed memory leaks.
OPcache
- Fixed bug #73060 (php failed with error after temp folder cleaned up).
- Fixed bug #79917 (File cache segfault with a static variable in inherited method).
PDO
- Fixed bug #64705 (errorInfo property of PDOException is null when PDO::__construct() fails).
Session
- Fixed bug #79724 (Return type does not match in ext/session/mod_mm.c).
Standard
- Fixed bug #79930 (
array_merge_recursive()
crashes when called with array with single reference). - Fixed bug #79944 (getmxrr always returns true on Alpine linux).
- Fixed bug #79951 (Memory leak in str_replace of empty string).
XML
- Fixed bug #79922 (Crash after multiple calls to
xml_parser_free()
).
Commit List
Ahmed Abdou
- Fix #64705 errorInfo property of PDOException is null when PDO::__construct() fails in 2fe2e5b48f
Christoph M. Becker
- Fix minor memory leak of CG(script_encoding_list) in c1a80e075a
- Fix brittle test in 6b99a8be4d
- Fix #79884:
PHP_CONFIG_FILE_PATH
is meaningless in 15efb96d4c - Fix #77932: File extensions are case-sensitive in 6f18d7e2f9
- Fix #79806:
realpath()
erroneously resolves link to link in d5b59b4303 - Revert "Fix #79806:
realpath()
erroneously resolves link to link" in 1aeff522b8 - Fix #79806:
realpath()
erroneously resolves link to link in c756f82c02 - Fix #73060: php failed with error after temp folder cleaned up in 9a744c66e7
- Prevent test case from stalling in f8792443a2
- Revert "Merge branch 'PHP-7.3' into PHP-7.4" in 826b90a5f0
- Fix #73060: php failed with error after temp folder cleaned up in 2bcc419800
- Amendment to OPcache base file removal in d95c53834c
- Fix #79919: Stack use-after-scope in
define()
in 1e0bc6e30f - Fix #79797: Use of freed hash key in the phar_parse_zipfile function in 7355ab8176
- Fix #79877: getimagesize function silently truncates after a null byte in ff577b04c0
- Enable libxml entity loader test case on Windows in d4b32e82c8
- Fix #79797: Use of freed hash key in the phar_parse_zipfile function in 9c3171f019
- Fix #79877: getimagesize function silently truncates after a null byte in 4d2560dd6a
- Prevent tempnam tests conflicts in fa9bd812fc
- Fix #79922: Crash after multiple calls to
xml_parser_free()
in 0af3f49312 - Fix #48585: com_load_typelib holds reference, fails on second call in dc108feab8
- Fix HTTP response status code in 1ae80f8c92
Côme Chilliet
- Updated NEWS in 1ba88355d7
David Carlier
- Fix iov_base pointer type for illumos in 12db8b90a7
Derick Rethans
- Prepare for 7.4.10 in 973be68c63
- PHP-7.4 is 7.4.10-dev now in 877a351ea8
- Add marker in 0d224ef634
- Update versions for PHP 7.4.10 in 48d7ec0d2c
Florian Engelhardt
- Fix bug #70574: Move files to proper locale dir in 5be670265b
George Wang
- Security: update to LiteSpeed SAPI v7.7 to address an buffer overflow, and some log message tunings in c39f5fe94e
- Make sure string is NUL byte terminated in 07cb2755be
Graham Campbell
- Removed space from
bug55086.phpt
in f3a43e85e7
Nawarian
- Fix bug #75785 by attempt switching endianness on Maker's Note in 2fa4ca95db
Nikita Popov
- Fixed bug #79881 in 657a832a77
- Fix test in 99c48a2477
- Consider op1 literal of FETCH_OBJ_R in 57ad5b3432
- Fix bug #79924 in 8b4da1774f
- Manually build re2c on macos in 9bbe236f6a
- Check whether setlocale -a is available in ee75524bff
- Relax error message check in b6e45b58d7
- Remove
posix_kill()
test in ef773bf4d5 - Use standard types in fopencookie test in 4cc4f9c00a
- Suppress warning in pcntl_unshare
skipif
in fcfa0a46c3 - Improve privilege check in
pcntl_setpriority()
test in 34e7d78df7 - Add ipv6
skipif
to test in 58ab49111e - Set AI_CANONNAME flag in socket_addrinfo test in 741daa8605
- Check ps -p availability in
proc_nice
test in 25bdf9d3e0 - Unset ai_canonname field in dump in b69a98cfb3
- Backport
bless_tests.php
changes from PHP 8 in a2604e628f - Fixed bug #79930 in da786a22af
- Fix memory leak on
socket_sendmsg()
/socket_recvmsg()
error in 6a1bd57df5 - Add privilege check in pcntl_unshare test in 8fd79d3574
- Check ps -p availability in process title test in 99645f5352
- Fix file clash in zlib test in a35379de2e
- Fixed bug #79947 in 2d087210eb
- Fix bug #79944 in a06eed0c0e
- Check the correct list in 4723bd4ffa
- Fixed bug #79951 in 9d9dffe60a
- Fixed bug #79917 in 4609ded082
- Fixed bug #79724 in 8bda799d6f
- Add missing initialization check to
RegexIterator::getRegex()
in a0c231c0f5 - Null terminate the
sodium_crypto_kx_keypair()
result in f6d7af21a3
Paweł Tomulik
- fix memory leaks in ext/ldap/ldap.c in efe6d96b45
- fix memory leaks in ext/ldap/ldap.c in fef5a9e502
Pieter van den Ham
- Fix #79934: CRLF-only line in heredoc causes parsing error in 06ade15528
Remi Collet
- bump version to 7.2.34-dev in 6b8ffdbdeb
Santiago M. Mola
- Fix #79895: support = in
PHP_CHECK_GCC_ARG
m4 macro in e767ca60a0 - set -ex on travis/compile.sh in fdf6b0fefe
Stanislav Malyshev
- Update NEWS in 07aeb9171d
twosee
- Handle bindto error in 0b8c83f593