Home » Releases » 5.4 » 5.4.45 »

PHP 5.4.8

PHP 5.4 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 5.4 is 5.4.45.

Source Code

Change Log

  • cli server

    • Implemented FR #63242 (Default error page in PHP built-in web server uses outdated html/css).
      pascal.chevrel@free.fr
    • Changed response to unknown HTTP method to 501 according to RFC. (Niklas Lindgren).
    • Support HTTP PATCH method. Patch by Niklas Lindgren, GH-190.
      Lars
  • core

    • Fixed bug #63219 (Segfault when aliasing trait method when autoloader throws excpetion).
      Laruence
    • Added optional second argument for assert() to specify custom message. Patch by Lonny Kapelushnik (lonny@lonnylot.com).
      Lars
    • Support building PHP with the native client toolchain.
      Stuart Langley
    • Added --offline option for tests.
      Remi
    • Fixed bug #63162 (parse_url does not match password component).
      husman
    • Fixed bug #63111 (is_callable() lies for abstract static method).
      Dmitry
    • Fixed bug #63093 (Segfault while load extension failed in zts-build).
      Laruence
    • Fixed bug #62976 (Notice: could not be converted to int when comparing some builtin classes).
      Laruence
    • Fixed bug #62955 (Only one directive is loaded from "Per Directory Values" Windows registry).
      aserbulov at parallels dot com
    • Fixed bug #62907 (Double free when use traits).
      Dmitry
    • Fixed bug #61767 (Shutdown functions not called in certain error situation).
      Dmitry
    • Fixed bug #60909 (custom error handler throwing Exception + fatal error = no shutdown function).
      Dmitry
    • Fixed bug #60723 (error_log error time has changed to UTC ignoring default timezone).
      Laruence
  • curl

    • Fixed bug #62085 (file_get_contents a remote file by Curl wrapper will cause cpu Soaring).
      Pierrick
  • date

    • Fixed bug #62896 ("DateTime->modify('+0 days')" modifies DateTime object) (Lonny Kapelushnik)
    • Fixed bug #62561 (DateTime add 'P1D' adds 25 hours).
      Lonny Kapelushnik
  • dom

    • Fixed bug #63015 (Incorrect arginfo for DOMErrorHandler).
      Rob
  • fpm

    • Fixed bug #62954 (startup problems fpm / php-fpm).
      fat
    • Fixed bug #62886 (PHP-FPM may segfault/hang on startup).
      fat
    • Fixed bug #63085 (Systemd integration and daemonize).
      remi
      fat
    • Fixed bug #62947 (Unneccesary warnings on FPM).
      fat
    • Fixed bug #62887 (Only /status?plain&full gives "last request cpu").
      fat
    • Fixed bug #62216 (Add PID to php-fpm init.d script).
      fat
  • oci8

    • Fixed bug #60901 (Improve "tail" syntax for AIX installation) (Chris Jones)
  • openssl

    • Implemented FR #61421 (OpenSSL signature verification missing RMD160, SHA224, SHA256, SHA384, SHA512).
      Mark Jones
  • pdo

    • Fixed bug #63258 (seg fault with PDO and dblib using DBSETOPT(H->link, DBQUOTEDIDENT, 1)).
      Laruence
    • Fixed bug #63235 (buffer overflow in use of SQLGetDiagRec).
      Martin Osvald
      Remi
  • pdo firebird

    • Fixed bug #63214 (Large PDO Firebird Queries).
      james at kenjim dot com
  • soap

    • Fixed bug #50997 (SOAP Error when trying to submit 2nd Element of a choice).
      Dmitry
  • spl

    • Bug #62987 (Assigning to ArrayObject[null][something] overrides all undefined variables).
      Laruence
  • mbstring

    • Allow passing null as a default value to mb_substr() and mb_strcut(). Patch by Alexander Moskaliov via GH-133.
      Lars
  • filter extension

    • Bug #49510: Boolean validation fails with FILTER_NULL_ON_FAILURE with empty string or false.
      Lars
  • sockets

    • Fixed bug #63000 (MCAST_JOIN_GROUP on OSX is broken, merge of PR 185 by Igor Wiedler).
      Lars

PHP 5.4


  Represents a security release