Home » Releases » 8.1 » 8.1.34 »

PHP 8.1.9

PHP 8.1 is no longer officially supported by the PHP project.

Official support refers to that provided direct by the PHP Project.

If you install PHP via third-party packages, support timelines may be different. Please read the Release Support Policy for more information.

The latest release of PHP 8.1 is 8.1.34 which includes important security patches.

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 Log

  • cli

    • Fixed potential overflow for the builtin server via the PHP_CLI_SERVER_WORKERS environment variable.
      yiyuaner
    • Fixed GH-8952 (Intentionally closing std handles no longer possible).
      Arnaud
      cmb
  • core

    • Fixed bug GH-8923 (error_log on Windows can hold the file write lock).
      cmb
    • Fixed bug GH-8995 (WeakMap object reference offset causing TypeError).
      Tobias Bachert
  • date

    • Fixed bug #80047 (DatePeriod doesn't warn with custom DateTimeImmutable).
      Derick
  • fpm

    • Fixed zlog message prepend, free on incorrect address.
      Heiko Weber
    • Fixed possible double free on configuration loading failure. (Heiko Weber).
  • gd

    • Fixed bug GH-8848 (imagecopyresized() error refers to the wrong argument).
      cmb
  • intl

    • Fixed build for ICU 69.x and onwards.
      David Carlier
  • opcache

    • Fixed bug GH-8847 (PHP hanging infinitly at 100% cpu when check php syntaxe of a valid file).
      Dmitry
    • Fixed bug GH-8030 (Segfault with JIT and large match/switch statements).
      Arnaud
  • reflection

    • Fixed bug GH-8943 (Fixed Reflection::getModifiersNames() with readonly modifier).
      Pierrick
    • Fixed bug GH-8982 (Attribute with TARGET_METHOD is rejected on fake closure of method).
      ilutov
  • standard

    • Fixed the crypt_sha256/512 api build with clang > 12.
      David Carlier
    • Uses CCRandomGenerateBytes instead of arc4random_buf on macOs. (David Carlier).
    • Fixed bug GH-9017 (php_stream_sock_open_from_socket could return NULL).
      Heiko Weber

PHP 8.1


  Represents a security release