1<?php 2$_SERVER['BASE_PAGE'] = 'releases/5_2_5.php'; 3include_once __DIR__ . '/../include/prepend.inc'; 4site_header("PHP 5.2.5 Release Announcement"); 5?> 6 7<h1>PHP 5.2.5 Release Announcement</h1> 8<p> 9The PHP development team would like to announce the immediate 10availability of PHP 5.2.5. This release focuses on improving the stability of 11the PHP 5.2.x branch with over 60 bug fixes, several of which are security related. 12All users of PHP are encouraged to upgrade to this release. 13</p> 14 15<p> 16<b>Security Enhancements and Fixes in PHP 5.2.5:</b> 17</p> 18<ul> 19 <li>Fixed dl() to only accept filenames. Reported by Laurent Gaffie.</li> 20 <li>Fixed dl() to limit argument size to MAXPATHLEN (CVE-2007-4887). Reported by Laurent Gaffie.</li> 21 <li>Fixed htmlentities/htmlspecialchars not to accept partial multibyte sequences. Reported by Rasmus Lerdorf</li> 22 <li>Fixed possible triggering of buffer overflows inside glibc implementations of the fnmatch(), setlocale() and glob() functions. Reported by Laurent Gaffie.</li> 23 <li>Fixed "mail.force_extra_parameters" php.ini directive not to be modifiable in .htaccess due to the security implications. Reported by SecurityReason.</li> 24 <li>Fixed bug #42869 (automatic session id insertion adds sessions id to non-local forms).</li> 25 <li>Fixed bug #41561 (Values set with php_admin_* in httpd.conf can be overwritten with ini_set()).</li> 26</ul> 27 28<p> 29<b>Key enhancements in PHP 5.2.5 include:</b> 30</p> 31<ul> 32 <li>Upgraded PCRE to version 7.3</li> 33 <li>Updated timezone database to version 2007.9</li> 34 <li>Added ability to control memory consumption between request using ZEND_MM_COMPACT environment variable.</li> 35 <li>Improved speed of array_intersect_key(), array_intersect_assoc(), array_uintersect_assoc(), array_diff_key(), array_diff_assoc() and array_udiff_assoc() functions</li> 36 <li>Fixed bug #43139 (PDO ignores ATTR_DEFAULT_FETCH_MODE in some cases with fetchAll())</li> 37 <li>Fixed bug #42785 (json_encode() formats doubles according to locale rather then following standard syntax)</li> 38 <li>Fixed bug #42549 (ext/mysql failed to compile with libmysql 3.23)</li> 39 <li>Over 60 bug fixes.</li> 40</ul> 41 42<p> 43For users upgrading from PHP 5.0 and PHP 5.1, an upgrade guide is available 44<a href="/UPDATE_5_2.txt">here</a>, detailing the changes between those releases 45and PHP 5.2.5. 46</p> 47 48<p> 49 For a full list of changes in PHP 5.2.5, see the <a href="/ChangeLog-5.php#5.2.5">ChangeLog</a>. 50</p> 51 52 53<?php site_footer(); ?> 54