PHP 7.4 reached EOL on , and all releases of this version no longer receive security or bug fixes. Using PHP 7.4.8 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.8
./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.8-cli-alpine
docker pull php:7.4.8-cli
docker pull php:7.4.8-fpm-alpine
docker pull php:7.4.8-apache
docker pull php:7.4.8-fpm
ChangeLog
Core
- Fixed bug #79595 (
zend_init_fpu()
alters FPU precision). - Fixed bug #79650 (php-win.exe 100% cpu lockup).
- Fixed bug #79668 (get_defined_functions(true) may miss functions).
- Fixed bug #79683 (Fake reflection scope affects __toString()).
- Fixed possibly unsupported
timercmp()
usage.
Exif
- Fixed bug #79687 (Sony picture - PHP Warning - Make, Model, MakerNotes).
Fileinfo
- Fixed bug #79681 (mime_content_type/finfo returning incorrect mimetype).
Filter
- Fixed bug #73527 (Invalid memory access in
php_filter_strip
).
GD
- Fixed bug #79676 (imagescale adds black border with IMG_BICUBIC).
OpenSSL
- Fixed bug #62890 (default_socket_timeout=-1 causes connection to timeout).
PDO SQLite
- Fixed bug #79664 (
PDOStatement::getColumnMeta
fails on empty result set).
phpdbg
- Fixed bug #73926 (phpdbg will not accept input on restart execution).
- Fixed bug #73927 (phpdbg fails with windows error prompt at "watch array").
- Fixed several mostly Windows related phpdbg bugs.
SPL
- Fixed bug #79710 (Reproducible segfault in error_handler during GC involved an SplFileObject).
Standard
Commit List
Anatol Belski
- sqlite3: Fix possible use after free in 2fd278bc21
- SplHeap: Avoid memcpy on overlapping pointer in afe14236e3
Böszörményi Zoltán
- Fixed bug #79570 in 6aff9a50ca
Christoph M. Becker
- Fix #79595:
zend_init_fpu()
alters FPU precision in 879004dae3 - Fix #73926: phpdbg will not accept input on restart execution in e483761a1e
- Fix several mostly Windows related phpdbg bugs in 8483a21f29
- Make phpdbg test portable in 9d5dafe040
- Enable phpdbg tests on AppVeyor in 9fad9addb5
- Fix PVS-Studio integration in 744f9016c4
- Fix #79650: php-win.exe 100% cpu lockup in 923c45bdca
- Fix #79664:
PDOStatement::getColumnMeta
fails on empty result set in 63bd8f38f4 - Fix #73927: phpdbg fails with windows error prompt at "watch array" in af4a9bf1bf
- Fix #79668: get_defined_functions(true) may miss functions in b8e7b30b47
- Fix #73527: Invalid memory access in
php_filter_strip
in ceae81665c - Update intl test suite for ICU 67.1 in 46d2a981dd
- Fix #74267: segfault with streams and invalid data in 12c59f6660
- Fix #62890: default_socket_timeout=-1 causes connection to timeout in eadd980706
- Fix possibly unsupported
timercmp()
usage in 7ac0fb5ae4 - Also support absolute Windows filenames in c5bafc3a19
- Fix #79681: mime_content_type/finfo returning incorrect mimetype in 6747068ce7
- Update NEWS wrt. bug 79681 in 2a6f2d82e1
- Fix #79676: imagescale adds black border with IMG_BICUBIC in 86e1f0ea11
- Fix #79687: Sony picture - PHP Warning - Make, Model, MakerNotes in 5621c5faf8
- Fix tests regarding OpenSSL security_level in b281493503
- Add missing NEWS entry in acdd6e597d
Derick Rethans
- This bug fix was cherry picked into 7.4.6 in 46d88a49cc
- Add (expected) release date, and new header for 7.4.8 in c6fc400e8b
- Turn into marker in 8e939fd055
- Revert "Partial fixed bug #79649 (Altering disable_functions from module init corrupts memory)" in 66996b2df0
- Update versions for PHP 7.4.8 in da4a40646a
Dmitry Stogov
- Fixed possible usage of uninitialized value in 1f521a0b23
Jelle van der Waa
- Allow defining of uname value for reproducible builds in d21b1c5679
Nathan Porter
- Respect
--program-prefix
/suffix when installing phar in ca7dcb88f3
Nikita Popov
- Fix
zend_assign_to_typed_ref()
implementation in 314ab47e55 - Respect typed references in catch assignment in 4a08ca1294
- Use automatic port assignment in socket_import/export test in 490ca05883
- Skip new watch point test under asan in 2a7d628adc
- Report len as -1 instead of INT_MAX in 39111585a2
- Remove unnecessary "poo" rmdirs in 4902b1c554
- Disable mysqlnd compression on msan build in 9b39ddbb85
- Fixed bug #79657 in df2db7fcea
- Fixed bug #79683 in 2447fd9f84
- Explicitly start postgres on azure in 1905cf0656
- Suppress deprecation warning in
sockets.c
in 09532a12a6 - Use shared setup.yml on azure in e0d2070108
- Drop freetype from i386 in 8641d76f62
- Fix non-default syntax in
mb_ereg_search()
in 3f2f36d5d4 - Add mbregex
skipif
in 3d6199db8a - Suppress zend signals check in two readline tests in 9b3e57921f
- Use sha256 as digest algorithm in certificate generator in 52c2f1126d
- Remove
bug48187.phpt
in 4c899fba41 - Don't use ternary in ini default in 3dfa25833f
- Migrate some tests to certificate generator in 6b702eea15
- Don't generate spurious warning is security_level not supported in 51e3cb3916
- Revert "Fix tests regarding OpenSSL security_level" in 2c0d47c4b4
- Generate certificate for bug65729.pem in dd7d161ccf
- Generate certificate for
bug68920.phpt
in 58ca47aff6 - Generate certificates for
bug69215.phpt
in 72b3987c2d - Add SubjectAltName support to certificate generator in c7fe71c8b7
- Downgrade server security level in security level test in 8ba0624a09
- Un-
XFAIL
FPM tests in 76ca6bf3ef - Fix race condition in FPM tests in ea3a317659
- Update libzip on macos in 090bddb934
- Generate temporary config file when generating certificates in 21a2da2349
- Fixed bug #79710 in 32f377b0b9
Remi Collet
- check for broken libzip versions in f3e6b123dc
talyz
- mysqlnd: Remove unnecessary check for HAVE_ZLIB in a230717fbb
Xinchen Hui
- Partial fixed bug #79649 (Altering disable_functions from module init corrupts memory) in a297c09da5