最新更新: PHP 5.2.3 For Windows/Linux

2010-08-28 10:51:35來源:西部e網(wǎng)作者:

The PHP development team would like to announce the immediate availability of PHP 5.2.3. This release continues to improve the security and the stability of the 5.X branch as well as addressing two regressions introduced by the previous 5.2 releases. These regressions relate to the timeout handling over non-blocking SSL connections and the lack of HTTP_RAW_POST_DATA in certain conditions. All users are encouraged to upgrade to this release.

Security Enhancements and Fixes in PHP 5.2.3:

  • Fixed an integer overflow inside chunk_split() (by Gerhard Wagner, CVE-2007-2872)
  • Fixed possible infinite loop in imagecreatefrompng. (by Xavier Roche, CVE-2007-2756)
  • Fixed ext/filter Email Validation Vulnerability (MOPB-45 by Stefan Esser, CVE-2007-1900)
  • Fixed bug #41492 (open_basedir/safe_mode bypass inside realpath()) (by bugs dot php dot net at chsc dot dk)
  • Improved fix for CVE-2007-1887 to work with non-bundled sqlite2 lib.
  • Added mysql_set_charset() to allow runtime altering of connection encoding.

The key improvements of PHP 5.2.3 include:

  • Improved compilation of heredocs and interpolated strings.
  • Optimized out a couple of per-request syscalls.
  • Optimized digest generation in md5() and sha1() functions.
  • Fixed bug #41236 (Regression in timeout handling of non-blocking SSL connections during reads and writes)
  • Fixed bug #39542 (Behavior of require/include different to < 5.2.0)
  • Fixed bug #41293 (Fixed creation of HTTP_RAW_POST_DATA when there is no default post handler)
  • Fixed bug #41347 (checkdnsrr() segfaults on empty hostname)
  • Fixed bug #41353 (crash in openssl_pkcs12_read() on invalid input)
  • Fixed bug #41403 (json_decode cannot decode floats if localeconv decimal_point is not '.')
  • Fixed bug #41421 (Uncaught exception from a stream wrapper segfaults)
  • Fixed bug #41504 (json_decode() incorrectly decodes JSON arrays with empty string keys).
  • Over 40 bug fixes.

For users upgrading from PHP 5.0 and PHP 5.1, an upgrade guide is available here, detailing the changes between those releases and PHP 5.2.3.

For a full list of changes in PHP 5.2.3, see the ChangeLog.

PHP 是一種 CGI 程序編寫語言,易學(xué)易用,運(yùn)行速度快,可以方便快捷地編寫出功能強(qiáng)大,運(yùn)行速度快,并可同時(shí)運(yùn)行于 Windows、Unix、Linux 平臺(tái)的Web后臺(tái)程序,內(nèi)置了對文件上傳、密碼認(rèn)證、Cookies 操作、郵件收發(fā)、動(dòng)態(tài) GIF 生成等功能,PHP 直接為很多數(shù)據(jù)庫提供原本的連接,包括Oracle、Sybase、Postgres、Mysql、Informix、Dbase、Solid、 Access 等,完全支持ODBC接口,用戶更換平臺(tái)時(shí),無需變換 PHP 代碼,可即拿即用.

Download: PHP 5.2.3 for Windows(21.4 MB)
Download: PHP 5.2.3 for Linux(7.07 MB)

關(guān)鍵詞:PHP

贊助商鏈接: