PHP Release 5.4.8


PHP 5.4.8 Release Announcement

The PHP development team would like to announce the immediate availability of PHP 5.4.8. Over 20 bugs were fixed. In addition OpenSSL signature verification now supports the SHA-2 family and RMD160. All users of PHP are encouraged to upgrade to this release.

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

Source Code
Change Logs
cli server
  • Implemented FR #63242 (Default error page in PHP built-in web server uses outdated html/css).
  • Changed response to unknown HTTP method to 501 according to RFC. .
  • Support HTTP PATCH method. Patch by Niklas Lindgren, Fixed issue GH-190.
core
  • Fixed bug #63219 (Segfault when aliasing trait method when autoloader throws excpetion).
  • Added optional second argument for assert() to specify custom message. Patch by Lonny Kapelushnik (lonny@lonnylot.com).
  • Support building PHP with the native client toolchain.
  • Added --offline option for tests.
  • Fixed bug #63162 (parse_url does not match password component).
  • Fixed bug #63111 (is_callable() lies for abstract static method).
  • Fixed bug #63093 (Segfault while load extension failed in zts-build).
  • Fixed bug #62976 (Notice: could not be converted to int when comparing some builtin classes).
  • Fixed bug #62955 (Only one directive is loaded from "Per Directory Values" Windows registry).
  • Fixed bug #62907 (Double free when use traits).
  • Fixed bug #61767 (Shutdown functions not called in certain error situation).
  • Fixed bug #60909 (custom error handler throwing Exception + fatal error = no shutdown function).
  • Fixed bug #60723 (error_log error time has changed to UTC ignoring default timezone).
curl
  • Fixed bug #62085 (file_get_contents a remote file by Curl wrapper will cause cpu Soaring).
date
  • Fixed bug #62896 ("DateTime->modify('+0 days')" modifies DateTime object)
  • Fixed bug #62561 (DateTime add 'P1D' adds 25 hours).
dom
  • Fixed bug #63015 (Incorrect arginfo for DOMErrorHandler).
fpm
  • Fixed bug #62954 (startup problems fpm / php-fpm).
  • Fixed bug #62886 (PHP-FPM may segfault/hang on startup).
  • Fixed bug #63085 (Systemd integration and daemonize).
  • Fixed bug #62947 (Unneccesary warnings on FPM).
  • Fixed bug #62887 (Only /status?plain&full gives "last request cpu").
  • Fixed bug #62216 (Add PID to php-fpm init.d script).
oci8
  • Fixed bug #60901 (Improve "tail" syntax for AIX installation)
openssl
  • Implemented FR #61421 (OpenSSL signature verification missing RMD160, SHA224, SHA256, SHA384, SHA512).
pdo
  • Fixed bug #63258 (seg fault with PDO and dblib using DBSETOPT(H->link, DBQUOTEDIDENT, 1)).
  • Fixed bug #63235 (buffer overflow in use of SQLGetDiagRec).
pdo firebird
  • Fixed bug #63214 (Large PDO Firebird Queries).
  • SOAP
  • Fixed bug #50997 (SOAP Error when trying to submit 2nd Element of a choice).
spl
  • Bug #62987 (Assigning to ArrayObject[null][something] overrides all undefined variables).
mbstring
  • Allow passing null as a default value to mb_substr() and mb_strcut(). Patch by Alexander Moskaliov via Fixed issue GH-133.
filter extension
  • Bug #49510: Boolean validation fails with FILTER_NULL_ON_FAILURE with empty string or false.
  • Sockets
  • Fixed bug #63000 (MCAST_JOIN_GROUP on OSX is broken, merge of PR 185 by Igor Wiedler).
To Top