PHP 8.0 reached EOL on , and all releases of this version no longer receive security or bug fixes. Using PHP 8.0.19 is not recommended. PHP 8.0.30 is the latest version in the series.
Downloads
Source Code
git clone https://github.com/php/php-src.git --depth 1 --branch php-8.0.19
./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:8.0.19-cli-alpine
docker pull php:8.0.19-cli
docker pull php:8.0.19-fpm-alpine
docker pull php:8.0.19-apache
docker pull php:8.0.19-fpm
ChangeLog
Core
- Fixed bug GH-8289 (Exceptions thrown within a yielded from iterator are not rethrown into the generator).
Date
- Fixed bug GH-7979 (DatePeriod iterator advances when checking if valid).
FFI
- Fixed bug GH-8433 (Assigning function pointers to structs in FFI leaks).
FPM
- Fixed bug #76003 (FPM /status reports wrong number of active processe).
- Fixed bug #77023 (FPM cannot shutdown processes).
- Fixed comment in kqueue remove callback log message.
Iconv
- Fixed bug GH-8218 (ob_end_clean does not reset Content-Encoding header).
Intl
- Fixed bug GH-8364 (msgfmt_format $values may not support references).
MySQLi
- Fixed bug GH-8267 (MySQLi uses unsupported format specifier on Windows).
SPL
- Fixed bug GH-8366 (ArrayIterator may leak when calling __construct()).
- Fixed bug GH-8273 (SplFileObject:
key()
returns wrong value).
Streams
- Fixed php://temp does not preserve file-position when switched to temporary file.
zlib
- Fixed bug GH-8218 (ob_end_clean does not reset Content-Encoding header).
Commit List
Bernd Holzmüller
- Preserve file-position when php://temp switches to temporary file in 84c18f9f04
Bob Weinand
- Fix GH-8289: Exceptions thrown within a yielded from iterator are not rethrown into the generator in 13649451c2
- Ensure correct target opline for exceptions thrown during yield from in 9cb512ecc1
- Fix GH-8433: Assigning function pointers to structs in FFI leaks memory in 2397e7685e
- Add missing
SKIPIF
for newext/ffi
test in a74b865123
Christoph M. Becker
- Bump version in 43f3745abb
- Fix #81714: segfault when serializing finalized HashContext in c2eafc29f5
- Fix GH-8267: MySQLi uses unsupported format specifier on Windows in 7c702b72f2
- Fix GH-8366: ArrayIterator may leak when calling __construct() in 1762a87932
- Fix GH-8408:
bug68547.phpt
fails without multibyte support in dad5cb442d - Fix GH-8364: msgfmt_format $values may not support references in f5d9e7c031
- Fix GH-8218: ob_end_clean does not reset Content-Encoding header in 30f4c725cb
Cody Mann
- GH-7979: iterator advances when checking if valid in 287c8a86b4
- style/readability updates in 24085d0192
David Carlier
- Fix FPM zlog warning with var being uninitialized in fc9fecbd09
- Fix FPM socket clean up reallocation clang build warning in 2f0918c638
- Fix FPM kqueue handler fix remove callback typo in ff90d42b8b
Derick Rethans
- Updated to version 2022.1 (2022a) in 341bea37e8
- Empty merge in 9efaf3c54b
- Updated to version 2022.1 (2022a) in 7aefee1613
- Prep NEWS for 7.4.29 release in 1a0514992d
- Add tz update into NEWS in c14e2e4fc9
- Prepare for 7.4.30 in fbee73df14
- Refactor code to avoid duplication in e38d300a70
- Merged pull request #8175 in 789f6b8367
- Fixed GH-8400:
bug73837.phpt
makes no sense in c854bb2472
Dmitry Stogov
- JIT: Fixed incorrect code generation in 0d44bbd212
- Fixed reference counting inference in c0bb238483
- JIT: Fix array clobbering by user error handler in c489e360a6
- Tracing JIT: Fixed incorrect assumption about stack slot type in 5b048dd05c
- JIT: Fix memory lek in 3aaf2f6f89
- Fix type narrowing warning during type inference of
ZEND_FETCH_DIM_W
in 8286de2fd3 - Fix type inference in 3e78964742
- Reorder optimization passes to avoid miss-optimization in 3b735456c6
- Fixed tests in 3564eaff42
Gabriel Caruso
- Prepare for PHP 8.0.19 GA in 5e34638c1c
- Update versions for PHP 8.0.19 in 01088f9159
George Peter Banyard
- Fix GH-8273: SplFileObject:
key()
returns wrong value in 6186ecd436
Ilija Tovilo
- Re-enable i386 tests on Azure Pipelines in d82d62c237
- Add nightly for GitHub actions in 5de1cd9e48
- Remove issue_comment trigger on nightly in 9af3759987
- Run nightly on php org only unless triggered via workflow_dispatch in cd90ddca85
- Only check tracked files in verify-generated-files in 1dc6dba014
- Add missing news entry for GH-8421 in 4d6965dcec
Jakub Zelenka
- Fix bug #76003: FPM /status reports wrong number of active processe in 33bb201b3e
- Fix bug #77023: FPM cannot shutdown processes in d8612fb6b7
Kamil Tekiela
- Fix regression from #8058 in 06e383b2f4
Michael Voříšek
- Fix opcache testing in CI in e3f2846bbb
- Verify generated files are up to date in CI in 36de002cc6
Mikko Pesari
- Fix
openssl_csr_export()
stub in 16bf8331e0
Nikita Popov
- Fix inference for assignment of known object to reference in b08aac0451
- Don't use CE info from pi node for MAY_BE_REF var in 41f33b9dc3
- Don't use CE for by-ref arguments in 5d072578cd
- Move MAY_BE_REF check into COPY_SSA_OBJ_TYPE in d16d251e20
Ollie Read
- Fix GH-8421: Attributes that target functions are not valid for anonymous functions defined within a method in d0f1b987a5
ryancaicse
- Move locks in TSRM.c to prevent races in 1a75269c8e
Tim Düsterhus
- Fix
--EXTENSIONS--
section for two tests in ext/zend_test
in 5655f1abe3