PHP是一种新型的CGI程序编写语言,易学易用,运行速度快,可以方便快捷地编写出功能强大,运行速度快,并可同时运行于 Windows、Unix、Linux平台的Web后台程序, 内置了对文件上传、密码认证、Cookies操作、邮件收发、动态GIF生成等功能,PHP 直接为很多数据库提供原本的连接,包括Oracle、Sybase、Postgres、Mysql、Informix、Dbase、Solid、 Access等,完全支持ODBC接口,用户更换平台时,无需变换PHP代码,可即拿即用.
PHP开发团队将马上宣布PHP 5.2.12的可用性,此版本着重于提高PHP 5.2.x的稳定性,修复60多个bug,其中一些bug还和安全有关,鼓励所有PHP 5.2的使用者升级到此版本。
http://cn.php.net/distributions/php-5.2.12.tar.bz2 (源码)
http://cn.php.net/distributions/php-5.2.12-Win32.zip (win 二进制包)
查看ChangeLog: http://www.php.net/ChangeLog-5.php#5.2.12
Security Enhancements and Fixes in PHP 5.2.12:
-Fixed a safe_mode bypass in tempnam() identified by Grzegorz Stachowiak. (CVE-2009-3557, Rasmus)
-Fixed a open_basedir bypass in posix_mkfifo() identified by Grzegorz Stachowiak. (CVE-2009-3558, Rasmus)
-Added "max_file_uploads" INI directive, which can be set to limit the number of file uploads per-request to 20 by default, to prevent possible DOS via temporary file exhaustion, identified by Bogdan Calin. (CVE-2009-4017, Ilia)
-Added protection for $_SESSION from interrupt corruption and improved "session.save_path" check, identified by Stefan Esser. (CVE-2009-4143, Stas)
-Fixed bug #49785 (insufficient input string validation of htmlspecialchars()). (CVE-2009-4142, Moriyoshi, hello at iwamot dot com)
Key enhancements in PHP 5.2.12 include:
- Fixed unnecessary invocation of setitimer when timeouts have been disabled. (Arvind Srinivasan)
- Fixed crash in com_print_typeinfo when an invalid typelib is given.
- Fixed crash in SQLiteDatabase::ArrayQuery() and SQLiteDatabase::SingleQuery() when calling using Reflection.
- Fixed crash when instantiating PDORow and PDOStatement through Reflection.
- Fixed memory leak in openssl_pkcs12_export_to_file().
- Fixed bug #50207 (segmentation fault when concatenating very large strings on 64bit linux).
- Fixed bug #50162 (Memory leak when fetching timestamp column from Oracle database).
- Fixed bug #50006 (Segfault caused by uksort()).
- Fixed bug #50005 (Throwing through Reflection modified Exception object makes segmentation fault).
- Fixed bug #49174 (crash when extending PDOStatement and trying to set queryString property).
- Fixed bug #49098 (mysqli segfault on error).
- Over 50 other bug fixes.