PHP 7.4 reached EOL on , and all releases of this version no longer receive security or bug fixes. Using PHP 7.4.14 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.14
./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.14-cli-alpine
docker pull php:7.4.14-cli
docker pull php:7.4.14-fpm-alpine
docker pull php:7.4.14-apache
docker pull php:7.4.14-fpm
ChangeLog
Core
- Fixed bug #74558 (Can't rebind closure returned by
Closure::fromCallable()
). - Fixed bug #80345 (PHPIZE configuration has outdated
PHP_RELEASE_VERSION
). - Fixed bug #72964 (White space not unfolded for CC/Bcc headers).
- Fixed bug #80362 (Running dtrace scripts can cause php to crash).
- Fixed bug #80393 (Build of PHP extension fails due to configuration gap with libtool).
- Fixed bug #80402 (configure filtering out -lpthread).
- Fixed bug #77069 (stream filter loses final block of data).
Fileinfo
- Fixed bug #77961 (finfo_open crafted magic parsing SIGABRT).
FPM
- Fixed bug #69625 (FPM returns 200 status on request without SCRIPT_FILENAME env).
Intl
- Fixed bug #80425 (
MessageFormatAdapter::getArgTypeList
redefined).
OpenSSL
- Fixed bug #80368 (OpenSSL extension fails to build against LibreSSL due to lack of OCB support).
Phar
- Fixed bug #73809 (Phar Zip parse crash - mmap fail).
- Fixed bug #75102 (
PharData
says invalid checksum for valid tar). - Fixed bug #77322 (PharData::addEmptyDir('/') Possible integer overflow).
PDO MySQL
- Fixed bug #80458 (
PDOStatement::fetchAll()
throws for upsert queries). - Fixed bug #63185 (nextRowset() ignores MySQL errors with native prepared statements).
- Fixed bug #78152 (
PDO::exec()
- Bad error handling with multiple commands). - Fixed bug #70066 (Unexpected "Cannot execute queries while other unbuffered queries").
- Fixed bug #71145 (Multiple statements in init command triggers unbuffered query error).
- Fixed bug #76815 (PDOStatement cannot be GCed/closeCursor-ed when a PROCEDURE resultset SIGNAL).
Standard
- Fixed bug #77423 (FILTER_VALIDATE_URL accepts URLs with invalid userinfo). (CVE-2020-7071)
- Fixed bug #80366 (Return Value of
zend_fstat()
not Checked). - Fixed bug #80411 (References to null-serialized object break
serialize()
).
Tidy
- Fixed bug #77594 (ob_tidyhandler is never reset).
Zlib
- Fixed #48725 (Support for flushing in zlib stream).
Commit List
Benjamin Morel
- Fix typos in php.ini files in ed949a1973
Calvin Buckley
- IBM i PASE doesn't support ITIMER_PROF in 54248b18fe
Christoph M. Becker
- Fix #74558: Can't rebind closure returned by
Closure::fromCallable()
in 78773890f6 - Fix #80345: PHPIZE configuration has outdated
PHP_RELEASE_VERSION
in c2b1182879 - Fix #72964: White space not unfolded for CC/Bcc headers in 881e43a03c
- Fix #77594: ob_tidyhandler is never reset in 221345a013
- Fix #80366: Return Value of
zend_fstat()
not Checked in 5f9c82d514 - Fix #77961: finfo_open crafted magic parsing SIGABRT in 39f95f5614
- Fix #76813: Access violation near NULL on source operand in 5e15c9c41f
- Fix #73809: Phar Zip parse crash - mmap fail in c283f53b24
- Fix #75102:
PharData
says invalid checksum for valid tar in 8588ae7215 - Fix #77069: stream filter loses final block of data in 65f5573bc8
- Fix #48725: Support for flushing in zlib stream in 20e75329f2
- Drop
pdo_mysql_prepare_load_data.phpt
in 10c9d615de - 7.3.27 is next in 40d9e3ab86
- Fix #77322: PharData::addEmptyDir('/') Possible integer overflow in a53d67ceac
Daniel Black
- Fix mysqli_get_client_stats test in 4a10037cb4
- fix mysqli_stmt_get_result_metadata_fetch_field test for mariadb in 5d5c1cea5f
- Fix mysqli_expire_password test for mariadb in 0697a64f7e
Darek Slusarczyk
- Fix #80312: change default engine from MyISAM to InnoDB in tests in 79a606bd95
Derick Rethans
- PHP-7.4 is now for 7.4.14 in c1f8dd4a33
- Revert "Fix #76813: Access violation near NULL on source operand" in a668ce82de
- Update NEWS in 21341834d4
- Reset date so that the image builder works in d824c3e5fb
- Update versions for PHP 7.4.14 in 8e9d39f15c
Dharman
- Fixed error reporting in mysqli_stmt::__construct in 233f507fe6
- Fixed bug #80458 in a83cc03c13
Jakub Zelenka
- Fix test for bug62890 to not depend on system cert store in 685708160e
- Fix bug #69625: FPM returns 200 status on request without SCRIPT_FILENAME in a221e17b41
Nikita Popov
- Handle errors during
next_result()
in eda7492604 - Fix incorrectly optimized out live range in df7417d127
- Short-circuit get_gc for currently running generator in 99a8ec6e24
- Fixed bug #80362: Running dtrace scripts can cause php to crash in fa713ec17b
- Fixed bug #80393 in d016434ad3
- Fix usage of casted string in ReflectionParameter ctor in 706241f82d
- Reindent
ext/mysqli
tests in 97d192b444 - Reindent more mysqli tests in e3e67b721f
- Fixed bug #80411 in 2fb12be84c
- Fix bug #80402: Don't strip -lpthread in ea372e7463
- Fixed bug #80425 in 5240f8391f
- Fixed bug #80368 in 0f579fd7c8
- Fix AVX detection in 4e30ab33d8
- Fix build for non-x86 in 3430d856ac
- Next attempt to fix bug #80368 in ecee3f1209
- Fixed bug #80457 in d6fcaf5da4
- Fixed bug #63185 in bd093ad861
- Fixed bug #78154 in 44b234a9bc
- Backport fix for bug #70066 in f3d5877845
- Fixed bug #71145 in 4922049213
- Fixed bug #76815 in e450621f5e
Paul Crovella
- Upload coverage data to codecov.io in 8f8e6f95af
Peter Kokot
- Backport fix for bug #78750 in d386ed1e6b