PHP 8.0.26: Downloads, Changelog, News

Release Information

Release
8.0.26
PHP Version
PHP 8.0
Release Date
Release Type
Bug Fix Release
Release Status
EOL, Use PHP 8.0.30
Branch Status
Unsupported

PHP 8.0 reached EOL on , and all releases of this version no longer receive security or bug fixes. Using PHP 8.0.26 is not recommended. PHP 8.0.30 is the latest version in the series.

Downloads

Source Code

Git Clone
Use Git to clone the 8.0.26 tag from the PHP Git repository.
git clone https://github.com/php/php-src.git --depth 1 --branch php-8.0.26
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:8.0.26-cli-alpine

Debian-based: More compatible with other components, complete, and are widely used.
docker pull php:8.0.26-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:8.0.26-fpm-alpine

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

Debian-based NTS FPM: PHP-FPM, can be integrated with Nginx, Caddy, and other web servers over Fast CGI.
docker pull php:8.0.26-fpm

ChangeLog

CLI

  • Fixed bug GH-9709 (Null pointer dereference with -w/-s options).

Core

  • Fixed bug GH-9752 (Generator crashes when interrupted during argument evaluation with extra named params).
  • Fixed bug GH-9801 (Generator crashes when memory limit is exceeded during initialization).
  • Fixed potential NULL pointer dereference in Windows shm*() functions.
  • Fixed bug GH-9750 (Generator memory leak when interrupted during argument evaluation.

Date

  • Fixed bug GH-9763 (DateTimeZone ctr mishandles input and adds null byte if the argument is an offset larger than 100*60 minutes).

FPM

  • Fixed bug GH-9754 (SaltStack (using Python subprocess) hangs when running php-fpm 8.1.11).
  • Fixed bug GH-9959 (Solaris port event mechanism is still broken after bug #66694).

mysqli

  • Fixed bug GH-9841 (mysqli_query throws warning despite using silenced error mode).

OpenSSL

  • Fixed bug GH-8430 (OpenSSL compiled with no-md2, no-md4 or no-rmd160 does not build).

SOAP

  • Fixed GH-9720 (Null pointer dereference while serializing the response).

Commit List

Adam Saponara

  • Fix GH-9709: Guard against current_execute_data==NULL in is_handle_exception_set in 45e224cf51

Arnaud Le Blanc

  • Restore extra_named_params when restoring frozen call stack in 86e1fea39a
  • Fix crash when memory limit is exceeded during generator initialization in 26c7c82d32
  • Fix generator memory leaks when interrupted during argument evaluation in GH-9756

Benoit

Christoph M. Becker

  • Fix GH-9720: Null pointer dereference while serializing the response in e440e37fa8
  • Fix #81739: OOB read due to insufficient validation in imageloadfont() in d50532be91
  • Fix potential NULL pointer dereference Windows shm*() functions in d1c9ff5642
  • Don't skip test on Windows due to missing ext/posix in 4c35d6440b

Derick Rethans

  • Updated to version 2022.5 (2022e) in 24963be8ef
  • Fixed GH-9763: DateTimeZone ctr mishandles input and adds null byte if the argument is an offset larger than 100*60 minutes in 7b48053293
  • Update NEWS in 41a6a298d9
  • Test for bug #78055 (DatePeriod's getRecurrences and ->recurrences don't match) in 011b7f9840
  • Bumb versions in 004cb82750
  • Updated to version 2022.6 (2022f) in 2b5bed904e

Dmitry Stogov

  • Discard disasm symbols on opcache restart in cefb228e15

Gabriel Caruso

Ilija Tovilo

  • Fix failing date test in 4e8a6554cb
  • Fix cli server blocking on accept when using multiple workers in d52f0451ad
  • Revert incorrect PHP-7.4 version constants in 8b919c3175
  • Migrate i386 to GitHub actions in 75970077b0

Jakub Zelenka

Kamil Tekiela

  • mysqli_query throws warning despite using silenced error mode in GH-9842
  • Add a temporary fix for insufficient buffer size in mysqlnd in GH-9835
  • Add NEWS entry for #9841 in 96049867d8

Remi Collet

Sara Golemon

Stanislav Malyshev

Tim Düsterhus

  • Update to actions/checkout@v3 in GH-9759
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.

Support PHP.Watch — If you find the articles, version information, Codex, and other PHP.Watch contributions useful, consider supporting through GitHub Sponsors. Your sponsorship helps dedicate more time to creating valuable content and improving the PHP community. Together, we can keep the momentum going — thank you for your support!

Thanks to the highest tier sponsor: @TomasVotruba for your generous support to keep PHP.Watch moving 💜