PHP 7.4.7: Downloads, Changelog, News

Release Information

Release
7.4.7
PHP Version
PHP 7.4
Release Date
Release Type
Bug Fix Release
Release Status
EOL, Use PHP 7.4.33
Branch Status
Unsupported

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
Use Git to clone the 7.4.7 tag from the PHP Git repository.
git clone https://github.com/php/php-src.git --depth 1 --branch php-7.4.7
How to compile PHP
PHP can be compiled by setting up the dependencies, building the configure script (./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

Non-Thread Safe Builds
Non-Thread Safe (NTS) builds are single-threaded PHP builds. They can be used on web servers that integrate PHP over FastCGI protocol, such as Nginx, Caddy, and IIS.
Thread-Safe Builds
Thread-Safe (TS) builds are multi-thread PHP builds, often used to integrate PHP as a Server API for multithreaded servers. The most common use case is using PHP as an Apache module.

Docker/Podman Containers

PHP CLI
PHP CLI Containers images only include the PHP CLI, and no FPM or Apache modules. The Alpine builds are lightweight, but may introduce incompatibilities due to their musl builds. Albeit their larger size, the Debian-based (without the "-alpine" suffix) images are more complete, and widely used.

Alpine-based: Lightweight, but may introduce incompatibilities due to their musl builds.
docker pull php:7.4.7-cli-alpine

Debian-based: More compatible with other components, complete, and are widely used.
docker pull php:7.4.7-cli
PHP CLI + Web Server Integration
These container images include PHP CLI, and a web server integration. FPM container images can be integrated with web servers such as Nginx, Caddy, and Apache with Event MPM. The Apache container images include Apache web server, integrating PHP as an Apache module.

Alpine-based: Lightweight, but may introduce incompatibilities due to their musl builds.
docker pull php:7.4.7-fpm-alpine

Debian-based ZTS Apache: Includes Apache web server integrating PHP as an Apache module.
docker pull php:7.4.7-apache

Debian-based NTS FPM: PHP-FPM, can be integrated with Nginx, Caddy, and other web servers over Fast CGI.
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

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

Ondřej Surý

  • Properly detect CRC32 APIs on aarch64 from configure in d4bebc874b

Remi Collet

Sara Golemon

Stanislav Malyshev

Xinchen Hui

Subscribe to PHP.Watch newsletter for monthly updates

You will receive an email on last Wednesday of every month and on major PHP releases with new articles related to PHP, upcoming changes, new features and what's changing in the language. No marketing emails, no selling of your contacts, no click-tracking, and one-click instant unsubscribe from any email you receive.