PHP 8.1.7 came out on 9 June 2022. Below is the full list of changes it made, grouped by the part of PHP that each one affects.
Security This release fixed security problems, but PHP 8.1 no longer gets any updates. If your site still runs on PHP 8.1, it should be moved to a version of PHP that is still supported.
The changes are listed in English, exactly as the PHP developers wrote them (21 in total).
CLI
Fixed bug GH-8575 (CLI closes standard streams too early). (Levi Morrison)
Date
Fixed bug #51934 (strtotime plurals / incorrect time). (Derick) Fixed bug #51987 (Datetime fails to parse an ISO 8601 ordinal date (extended format)). (Derick) Fixed bug #66019 (DateTime object does not support short ISO 8601 time format - YYYY-MM-DDTHH) (cmb, Derick) Fixed bug #68549 (Timezones and offsets are not properly used when working with dates) (Derick, Roel Harbers) Fixed bug #81565 (date parsing fails when provided with timezones including seconds). (Derick) Fixed bug GH-7758 (Problems with negative timestamps and fractions). (Derick, Ilija)
FPM
Fixed ACL build check on MacOS. (David Carlier) Fixed bug #72185 : php-fpm writes empty fcgi record causing nginx 502. (Jakub Zelenka, loveharmful) Fixes use after free. (Heiko Weber).
mysqlnd
Fixed bug #81719 : mysqlnd/pdo password buffer overflow. (CVE-2022-31626 ) (c dot fol at ambionics dot io)
OPcache
Fixed bug GH-8461 (tracing JIT crash after function/method change). (Arnaud, Dmitry)
OpenSSL
Fixed bug #79589 (error:14095126:SSL routines:ssl3_read_n:unexpected eof while reading). (Jakub Zelenka)
Pcntl
Fixed Haiku build. (David Carlier)
Soap
Fixed bug GH-8578 (Error on wrong parameter on SoapHeader constructor). (robertnisipeanu) Fixed bug GH-8538 (SoapClient may strip parts of nmtokens). (cmb)
SPL
Fixed bug GH-8235 (iterator_count() may run indefinitely). (cmb)
Standard
Fixed bug GH-8185 (Crash during unloading of extension after dl() in ZTS). (Arnaud)
Zip
Fixed type for index in ZipArchive::replaceFile. (Martin Rehberger)
← Previous release: PHP 8.1.6 Next release: PHP 8.1.8 →
This list comes from the NEWS file that the PHP developers keep with the PHP source code, and the same list is also published on php.net .
Related articles
Useful articles to help you determine if you need to upgrade your server's PHP version and how to go about doing so.
Read more →
If you don't want to use our tool or have already tried what follows is a list of three simple tests you can perform to determine your PHP version.We have listed them in order of complexity, starting with the easiest.
Read more →
← Back to Guide Index
Article last updated: 21st October, 2026