PHP 8.0 reached EOL on , and all releases of this version no longer receive security or bug fixes. Using PHP 8.0.16 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.16
./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.16-cli-alpine
docker pull php:8.0.16-cli
docker pull php:8.0.16-fpm-alpine
docker pull php:8.0.16-apache
docker pull php:8.0.16-fpm
ChangeLog
Core
- Fixed bug #81430 (Attribute instantiation leaves dangling pointer).
- Fixed bug GH-7896 (Environment vars may be mangled on Windows).
FFI
- Fixed bug GH-7867 (
FFI::cast()
from pointer to array is broken).
Filter
- Fix #81708: UAF due to
php_filter_float()
failing for ints. (CVE-2021-21708)
FPM
- Fixed memory leak on invalid port.
MBString
- Fixed bug GH-7902 (
mb_send_mail
may delimit headers with LF only).
MySQLnd
- Fixed bug GH-7972 (MariaDB version prefix 5.5.5- is not stripped).
Sockets
- Fixed
ext/sockets
build on Haiku. - Fixed bug GH-7978 (sockets extension compilation errors).
Standard
- Fixed bug GH-7875 (mails are sent even if failure to log throws exception).
Commit List
Benjamin Eberlei
- Fix #81430: Attribute instantiation leaves dangling pointer in 2f6a06ccb0
Christoph M. Becker
- Fix ODBC test which may not properly clean up in 9781085782
- Fix GH-7867:
FFI::cast()
from pointer to array is broken in 703cac33db - Fix GH-7875: mails are sent even if failure to log throws exception in 478edcdacb
- Fix GH-7896: Environment vars may be mangled on Windows in 93a3c71eb4
- Fix GH-7902:
mb_send_mail
may delimit headers with LF only in 03816fba46 - Fix #81708: UAF due to
php_filter_float()
failing for ints in cebd621167
David Carlier
- Fix
ext/sockets
build on Haiku in 09165ace37 - Fix memory leak on invalid port in c99a026c9c
- Fix GH-7978: sockets extension compilation errors in 07aaa34cd4
Dmitry Stogov
- JIT: Fix incorrect FETCH_THIS elimination in 4170d41a66
- Fix type inference for assign to string offset with invalid index in b80d30d821
- Added test in 71d6501346
- Fixed NAN handling in SCCP in 698ac23711
- Fix type inference in 1f58365438
- Fix register allocation on x86 in d8b0337cff
- JIT: Fix incorrect flag check in 522406c0ec
- Fix ext/
zend_test
/tests/observer_bug81430_2.phpt failure in f7c3f6e7e2 - JIT: Fix register allocation in 079c5af9ec
- JIT: Fix trace type inference in ee8f9d75c0
- Fix typo (wrong string length) in 464e725bb5
- Fix too aggressive DCE that leads to memory leak in 965dafe3e1
- Fix incorrect register allocation in f711c9603d
- JIT: Fix incorrect type store elimination in 54c952f11f
- Fix memory leak in a60a9b4a89
- JIT: Fix register alloction (missed store) in 478448d271
Gabriel Caruso
- Prepare for PHP 8.0.16 in d70c69839c
Joe Watkins
- Fix TSRM ignoring done in d7db5f6e21
Kamil Tekiela
- Strip MariaDB 10 prefix in 5fc0db989e
- Fix coding style from previous commit in 82b883034c
Sara Golemon
- Update versions for PHP 8.0.16 in 4f4e435415