PHP 7.4 reached EOL on , and all releases of this version no longer receive security or bug fixes. Using PHP 7.4.7 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.7
./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.7-cli-alpine
docker pull php:7.4.7-cli
docker pull php:7.4.7-fpm-alpine
docker pull php:7.4.7-apache
docker pull php:7.4.7-fpm
ChangeLog
Core
- Fixed bug #79599 (coredump in set_error_handler).
- Fixed bug #79566 (Private SHM is not private on Windows).
- Fixed bug #79489 (.user.ini does not inherit).
- Fixed bug #79600 (Regression in 7.4.6 when yielding an array based generator).
- Fixed bug #79657 ("yield from" hangs when invalid value encountered).
FFI
- Fixed bug #79571 (FFI: var_dumping unions may segfault).
GD
- Fixed bug #79615 (Wrong GIF header written in GD GIFEncode).
MySQLnd
- Fixed bug #79596 (MySQL FLOAT truncates to int some locales).
Opcache
- Fixed bug #79588 (Boolean opcache settings ignore on/off values).
- Fixed bug #79548 (Preloading segfault with inherited method using static variable).
- Fixed bug #79603 (RTD collision with opcache).
Standard
- Fixed bug #79561 (
dns_get_record()
fails with DNS_ALL).
Commit List
Alex Dowad
- Don't check directory atime in
lstat_stat_variation10.phpt
test in 1e3196a159 - Show diffs for failed tests on Azure CI in 6ad746488e
Christoph M. Becker
- Fix #79532: sizeof off_t can be wrong in 67f9b0b754
- Pass worker ID to clean scripts in 9a98569efe
- Fix #79528: Different object of the same xml between 7.4.5 and 7.4.4 in 54148fd686
- Add basic
sapi_windows_cp_conv()
test in d950969e59 - Fix #79561:
dns_get_record()
fails with DNS_ALL in c40a494406 - Fix #79566: Private SHM is not private on Windows in f33cf52faf
- Fix #79571: FFI: var_dumping unions may segfault in d5300873c5
- Fix #78875: Long filenames cause OOM and temp files are not cleaned in 1c9bd513ac
- Fix #78876: Long variables cause OOM and temp files are not cleaned in 3c8582ca4b
- Fix #79489: .user.ini does not inherit in bdba0cd3d2
- Skip test on big-endian architectures in 8623a85cb9
- Fix #79588: Boolean opcache settings ignore on/off values in 5bdb4ab786
- Fix brittle shmop test in 1892e3abaa
- Check compatibility with proper runtime DLL in bfcee2c746
- Fix #79596: MySQL FLOAT truncates to int some locales in d1cd489a53
- Fix #79557: extension_dir = ./ext now use current directory for base in 8c6d006b55
- Fix INI setting member name in 85ac5643ff
- Bump version in c4badcbec4
- Fix #79615: Wrong GIF header written in GD GIFEncode in d4bd6fb491
- Fix #79595:
zend_init_fpu()
alters FPU precision in 88dfc475c5 - 7.3.20 will be next in c249f593ef
Derick Rethans
- Put Xdebug 3 into 'off' mode for
run-tests.php
in 74a4a5ae55 - Put Xdebug 3 into 'off' mode for
run-tests.php
in d2797505cd - Fixed historical dates in NEWS in fb370ecbe5
- This bug fix was cherry picked into 7.4.6 in f74f882890
- Update versions for PHP 7.4.7 in d5eaf099a0
Gerard Roche
- Fix lcov genhtml: ERROR: cannot read [file] in ae1d4a820a
Indrek Ardel
- Fix default sendmail path when not found during build in 517431892b
Nikita Popov
- Make 045.phpt busy wait in b1b98e08d0
- Reduce test parallelism on ARM64 CI in 7e14e03374
- Fix i386 build on Azure in 9c5d9b4925
- Fixed bug #79535 in 7c1316ec6a
- Fixed bug #79548 in 21a9ad910b
- Canonicalize bison error during ini parsing in 3978d3a957
- Fixed bug #79600 in d87b0685b5
- Don't require rc=1 for function static variables in 8819d247c6
- Fix static property indirections in file cache in db0cdcbb0a
- Fix bug #79603, by retrying on RTD key collision in 4f47ba99f0
- Update msan symbolizer path in 405bea4750
- Revert "Fix #79595:
zend_init_fpu()
alters FPU precision" in 10eb842a64 - Cherry pick fix for #79657 in e2d25c5a85
Ondřej Surý
- Properly detect CRC32 APIs on aarch64 from configure in d4bebc874b
Remi Collet
- bump version to 7.2.32-dev in 4cf8be71df
Sara Golemon
- Update CREDITS for PHP 7.2.30 in cf083535f8
Stanislav Malyshev
- Update NEWS in b4afd21428
Xinchen Hui
- Fixed bug #79536 (
zend_clear_exception
prevent exception's destructor to be called) in 8555c2bff0 - Fixed bug #97599 (coredump in set_error_handler) in ccd41e0833
- fixed typo of bug id (#79599) in 3a3241ced7