升級 PHP 5.2.4

雖說 PHP 5.2.4 早在 8/30 就已釋出,雖說升級 PHP 花不了幾分鐘,雖說…,但是在 SERVER 正常運作時儘量避免更動絕對是必要遵守準則(其實是懶得更新),就這樣拖了如此長的時間。趁此時升級年久失修的 PHP,順便一併升級差不多時候更新的 eAccelerator 0.9.5.2。

PHP 5.2.4 Released
The PHP development team would like to announce the immediate availability of PHP 5.2.4. This release focuses on improving the stability of the PHP 5.2.X branch with over 120 various bug fixes in addition to resolving several low priority security bugs. All users of PHP are encouraged to upgrade to this release.

Further details about the PHP 5.2.4 release can be found in the release announcement for 5.2.4, the full list of changes is available in the ChangeLog for PHP 5.

以下是 PHP 5.2.4 部份 ChangeLog:

    Security Enhancements and Fixes in PHP 5.2.4:

  • Fixed a floating point exception inside wordwrap() (Reported by Mattias Bengtsson)
  • Fixed several integer overflows inside the GD extension (Reported by Mattias Bengtsson)
  • Fixed size calculation in chunk_split() (Reported by Gerhard Wagner)
  • Fixed integer overflow in str[c]spn(). (Reported by Mattias Bengtsson)
  • Fixed money_format() not to accept multiple %i or %n tokens. (Reported by Stanislav Malyshev)
  • Fixed zend_alter_ini_entry() memory_limit interruption vulnerability. (Reported by Stefan Esser)
  • Fixed INFILE LOCAL option handling with MySQL extensions not to be allowed when open_basedir or safe_mode is active. (Reported by Mattias Bengtsson)
  • Fixed session.save_path and error_log values to be checked against open_basedir and safe_mode (CVE-2007-3378) (Reported by Maksymilian Arciemowicz)
  • Fixed a possible invalid read in glob() win32 implementation (CVE-2007-3806) (Reported by shinnai)
  • Fixed a possible buffer overflow in php_openssl_make_REQ (Reported by zatanzlatan at hotbrev dot com)
  • Fixed an open_basedir bypass inside glob() function (Reported by dr at peytz dot dk)
  • Fixed a possible open_basedir bypass inside session extension when the session file is a symlink (Reported by c dot i dot morris at durham dot ac dot uk)
  • Improved fix for MOPB-03-2007.
  • Corrected fix for CVE-2007-2872.

*

    Key enhancements in PHP 5.2.4 include:

  • Upgraded PCRE to version 7.2
  • Added persistent connection status checker to pdo_pgsql.
  • Fixed oci8 and PDO_OCI extensions to allow configuring with Oracle 11g client libraries.
  • Fixed bug #41831 (pdo_sqlite prepared statements convert resources to strings).
  • Fixed bug #41770 (SSL: fatal protocol error due to buffer issues)
  • Fixed bug #41713 (Persistent memory consumption on win32 since 5.2)
  • Over 120 bug fixes.

請參考詳細 ChangeLog官網下載 PHP 5.2.4