PHP 8.0.11: Downloads, Changelog, News

Release Information

PHP Version
PHP 8.0
Release Date
Release Type
Security Update
Release Status
EOL, Use PHP 8.0.30
Branch Status

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


Source Code

Git Clone
Use Git to clone the 8.0.11 tag from the PHP Git repository.
git clone --depth 1 --branch php-8.0.11
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 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.11-cli-alpine

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

Debian-based ZTS Apache: Includes Apache web server integrating PHP as an Apache module.
docker pull php:8.0.11-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.11-fpm



  • Fixed bug #81302 (Stream position after stream filter removed).
  • Fixed bug #81346 (Non-seekable streams don't update position after write).
  • Fixed bug #73122 (Integer Overflow when concatenating strings).


  • Fixed bug #53580 (During resize gdImageCopyResampled cause colors change).


  • Fixed bug #81353 (segfault with preloading and statically bound closure).


  • Fixed bug #81407 (shmop_open won't attach and causes php to crash).


  • Fixed bug #71542 (disk_total_space does not work with relative paths).
  • Fixed bug #81400 (Unterminated string in dns_get_record() results).


  • Fixed bug #78819 (Heap Overflow in msg_send).


  • Fixed bug #81351 (xml_parse may fail, but has no error code).


  • Fixed bug #80833 (ZipArchive::getStream doesn't use setPassword).
  • Fixed bug #81420 (ZipArchive::extractTo extracts outside of destination). (CVE-2021-21706)

Commit List

Alexey Zamorov

  • Avoid dangling pointer in curl header.str in 8c292a2f9d

Christoph M. Becker

Derick Rethans

Gabriel Caruso

Máté Kocsis

  • Declare a few missing function return types in c58a9f2a57
  • Fix a few optimizer func info in 41ab369791
  • Sync ext/mysqli optimizer func info entries with the stubs in 780293baec
  • Fix func info for str_replace() and str_ireplace() in 492821a302
  • Fix a few func info entries in cdf0550fe5
  • Use camelCase method names in OCICollection and OCILob in GH-7405
  • Fix default value of $flags in oci_fetch_all() in GH-7429
  • Fix default value of $flags in idn_to_ascii() and idn_to_utf8() in d5aed7b0e3
  • Fix the return type of ftp_raw() in GH-7466

Nikita Popov

  • Fix port clash in socket tests in 78cbe56e68
  • Fixed bug #81353 in d1e956ff31
  • Prevent bailout during imap shutdown error reporting in bcc2f0705d
  • Fix maybe-uninitialized warning in b66168e86b
  • Backport Laravel test hack in 51147e2f18
  • Fix repeated file cache unserialization of zval string in de7ba3e737
  • Test file_cache prime shm + use file combination in 3454ea36a4
  • Mark PDO::setAttribute() $value as mixed in 2e343fcb42
  • imagecolorsforindex() cannot return false in cba166469d
  • Fix Closure::call() on internal method closure in eda9f5f740
  • Remove incorrect refcount info for addcslashes() in 9d70946b16
  • Error on resource ID space overflow in 501f1a45f5
  • Fix curl_copy_handle() with CURLINFO_HEADER_OUT in 30e791ed56

Remi Collet

Sara Golemon

Stanislav Malyshev

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.