xref: /web-php/releases/5_1_2.php (revision f1cb7e74)
1<?php
2$_SERVER['BASE_PAGE'] = 'releases/5_1_2.php';
3include_once __DIR__ . '/../include/prepend.inc';
4site_header("PHP 5.1.2 Release Announcement");
5?>
6
7<h1>PHP 5.1.2. Release Announcement</h1>
8<p>
9The PHP development team is proud to announce the release of <a href="/downloads.php">PHP 5.1.2</a>.
10This release combines small feature enhancements with a fair number of
11bug fixes and addresses three security issues. All PHP 5 users are encouraged to
12upgrade to this release.
13</p>
14
15<p>
16The security issues resolved include the following:
17<ul>
18<li>HTTP Response Splitting has been addressed in ext/session and in the
19   header() function.  Header() can no longer be used to send multiple
20   response headers in a single call.
21</li>
22<li>Format string vulnerability in ext/mysqli.</li>
23<li>Possible cross-site scripting problems in certain error conditions.</li>
24</ul>
25</p>
26
27<p>
28The feature enhancements include the following notables:
29<ul>
30<li>Hash extension was added to core and is now enabled by default. This
31    extension provides support for most common hashing algorithms without
32    reliance on 3rd party libraries.</li>
33<li>XMLWriter was added and enabled by default.</li>
34<li>New OCI8 extension that includes numerous fixes.</li>
35<li>PNG compression support added to the GD extension.</li>
36<li>Added --enable-gcov configure option to enable C-level code coverage.</li>
37<li>getNamespaces() and getDocNamespaces() methods added to SimpleXML extension.</li>
38</ul>
39</p>
40
41<p>
42The release also includes over 85 bug fixes with a focus on:
43<ul>
44<li>Correction of the many regressions in the strtotime() function.</li>
45<li>Fixes of several crashes, leaks and memory corruptions found in the
46    imap, pdo, gd, mysqli, mcrypt and soap extensions.</li>
47<li>Corrected problems with the usage of SSI and virtual() in the Apache2 SAPI.</li>
48<li>Build fixes for iconv and sybase_ct extensions.</li>
49<li>Fixed the previously broken Sun(rise|set) functions.</li>
50<li>SQLite libraries upgraded to 2.8.17 and 3.2.8
51<li>Win32 binaries now include libxml2-2.6.22 and libxslt-1.1.15.</li>
52</ul>
53</p>
54
55<p>
56 For a full list of changes in PHP 5.1.2, see the
57 <a href="/ChangeLog-5.php#5.1.2">ChangeLog</a>.
58</p>
59
60<?php site_footer(); ?>
61