onPHP5.com

PHP5: Articles, News, Tutorials, Interviews, Software and more
  
Featured Article:
Learning PHP Data Objects
 
 
Thu, 24 Jul 2008
 Home   About   Contribute   Contact Us   Polls 
Top Tags
article book conference mysql mysqli news onphp5 oop pdo php5 poll prado security solar symfony unicode zend zend core zend framework zend platform
More tags »

Not logged in
Login | Register


PHP Version 5.2.5 Released

« SimpleXML, DOM and Encodings Prado 3.1.1 Released »

By dennisp on Friday, 09 November 2007, 21:51
Published under: news   php5
Views: 1961, comments: 0

PHP version 5.2.5 has been released. This release focuses on improving the stability of the PHP 5.2.x branch with over 60 bug fixes, several of which are security related. All users of PHP are encouraged to upgrade to this release.


Quoting the announcement:
The PHP development team would like to announce the immediate availability of PHP 5.2.5. This release focuses on improving the stability of the PHP 5.2.x branch with over 60 bug fixes, several of which are security related. All users of PHP are encouraged to upgrade to this release.

Security Enhancements and Fixes in PHP 5.2.5:

* Fixed dl() to only accept filenames
* Fixed dl() to limit argument size to MAXPATHLEN (CVE-2007-4887)
* Fixed htmlentities/htmlspecialchars not to accept partial multibyte sequences
* Fixed possible triggering of buffer overflows inside glibc implementations of the fnmatch(), setlocale() and glob() functions
* Fixed "mail.force_extra_parameters" php.ini directive not to be modifiable in .htaccess due to the security implications
* Fixed bug #42869 (automatic session id insertion adds sessions id to non-local forms).
* Fixed bug #41561 (Values set with php_admin_* in httpd.conf can be overwritten with ini_set()).

Key enhancements in PHP 5.2.5 include:

* Upgraded PCRE to version 7.3
* Updated timezone database to version 2007.9
* Added ability to control memory consumption between request using ZEND_MM_COMPACT environment variable.
* Improved speed of array_intersect_key(), array_intersect_assoc(), array_uintersect_assoc(), array_diff_key(), array_diff_assoc() and array_udiff_assoc() functions
* Fixed bug #43139 (PDO ignores ATTR_DEFAULT_FETCH_MODE in some cases with fetchAll())
* Fixed bug #42785 (json_encode() formats doubles according to locale rather then following standard syntax)
* Fixed bug #42549 (ext/mysql failed to compile with libmysql 3.23)
* Over 60 bug fixes.
The new release can be downloaded here. You might also be interested in the changelog.

Related articles

PHP Version 5.2.2 Released
PHP Version 5.2.4 (RC1) Released for Testing
PHP Version 5.2.2 (RC1) Released for Testing
PHP Version 5.2.4 Released
PHP Version 5.2.1 Released
PHP Version 5.2.3 Released
Zend Framework 1.0.0 RC3 Released
Symfony 1.0.6 Released
Symfony 1.0.5 Released
Zend Framework 1.0.1 Released
Zend Framework 1.0.0 Production Released
CodeIgniter 1.5.4 Released
Prado 3.1.0 Released
Zend Framework 1.0.2 Released
SimpleXML, DOM and Encodings
i18n with PHP5: Pitfalls
Learning PHP Data Objects
Advocating Namespaces
Exceptions in __autoload()
PHP5 More Secure than PHP4
Most Important Feature of PHP 5?
Symfony 1.0.4 Released
Prado 3.1.1 Released
Zend Framework 1.0.3 Released
PRADO version 3.1.2 released
2008 PHP Quebec Conference Call for Papers
Zend Framework 1.0.0 RC1 Released
Zend Platform 3.0 Released
Symfony 1.0 Released
Zend Framework 0.8.0 Released
Solar 0.27.0 and 0.27.1 Released
Solar 0.26.0 Released
PHP Conference UK 2007 Registration Open
Zend Platform 3.0 Beta for Windows Released
Symfony 1.0 Beta 4 Released
International PHP Conference Call for Papers Announced
Zend Core 2.0 Released
Zend Framework 0.9.0 Beta Released
Zend Core 2.0.1 for Oracle and IBM Released
Prado 3.1.0 RC Released
Symfony 1.0.3 Released
Prado 3.1.0 Alpha Released
Zend Framework 0.9.3 Beta Released
Symfony 1.0.2 Released
Zend Framework 0.9.1 Beta Released
Prado 3.0.7 Released
Prado 3.1.0 Beta Released
Zend Framework 1.0.0 RC2 Released


© 2008 onPHP5.com