PHP Release 8.1.9


PHP 8.1.9 Release Announcement

The PHP development team announces the immediate availability of PHP 8.1.9. This is a bug fix release.

All PHP 8.1 users are encouraged to upgrade to this version.

For source downloads of PHP 8.1.9 please visit our downloads page, Windows source and binaries can be found on windows.php.net/download/. The list of changes is recorded in the ChangeLog.

Source Code
PHP 8.1.9 (tar.gz)
SHA256: 954cf77f7e0a70dc765e7639acdfdccd164be5cd1bce3dbe9d10c58dca631e76
PHP 8.1.9 (tar.bz2)
SHA256: 9ebb0e2e571db6fd5930428dcb2d19ed3e050338ec1f1347c282cae92fc086ff
PHP 8.1.9 (tar.xz)
SHA256: 53477e73e6254dc942b68913a58d815ffdbf6946baf61a1f8ef854de524c27bf
Change Logs
cli
  • Fixed potential overflow for the builtin server via the PHP_CLI_SERVER_WORKERS environment variable.
  • Fixed GH-8952 (Intentionally closing std handles no longer possible).
core
  • Fixed bug GH-8923 (error_log on Windows can hold the file write lock).
  • Fixed bug GH-8995 (WeakMap object reference offset causing TypeError).
date
  • Fixed bug #80047 (DatePeriod doesn't warn with custom DateTimeImmutable).
fpm
  • Fixed zlog message prepend, free on incorrect address.
  • Fixed possible double free on configuration loading failure. .
gd
  • Fixed bug GH-8848 (imagecopyresized() error refers to the wrong argument).
intl
  • Fixed build for ICU 69.x and onwards.
opcache
  • Fixed bug GH-8847 (PHP hanging infinitly at 100% cpu when check php syntaxe of a valid file).
  • Fixed bug GH-8030 (Segfault with JIT and large match/switch statements).
reflection
  • Fixed bug GH-8943 (Fixed Reflection::getModifiersNames() with readonly modifier).
  • Fixed bug GH-8982 (Attribute with TARGET_METHOD is rejected on fake closure of method).
standard
  • Fixed the crypt_sha256/512 api build with clang > 12.
  • Uses CCRandomGenerateBytes instead of arc4random_buf on macOs. .
  • Fixed bug GH-9017 (php_stream_sock_open_from_socket could return NULL).
To Top