PHP 4.2.1 released
PHP 4.2.1 released
[13-May-2002] The PHP Group is happy to announce the immediate availability of PHP 4.2.1, the latest version of the widely-used, general-purpose scripting language that is especially well-suited for Web development.
This latest release contains several bug fixes as found in PHP 4.2.0. These include fixes for the session, com and mbstring extensions, as well as a major upgrade of the DomXML extension. Also a few extra checks for safe_mode were added. For more information, see the PHP 4.2.1 release announcement.
PHP 4.2.1 Release Announcement
[ Version Française ]
This bug fix release solves a few bugs found in PHP 4.2.0. PHP 4.2.1 includes the following fixes:
Fix for the MySQL extension not be able to connect to a MySQL server.
Fix for a crash in the COM extension when using an outproc server.
Fix for SID logic in the session extension.
Fixes for the mbstring extension, including SJIS directory name handling and mb_output_buffer().
Fix for a bug in socket_select() that could cause unexpected behavior when using a statement like $w = $e = array($sock);
Almost full DOM compliance for the domxml extension, and fixes for several functions.
Safe_mode checks for show_source(), parse_ini_file() and rmdir().
For a full list of changes in PHP 4.2.1, see the NEWS file.
PHP 4.2.1 also has improved (but still experimental) support for Apache version 2. We do not recommend that you use this in a production environment, but feel free to test it and report bugs to the bug system.
We would also like to attend you on a big change in PHP 4.2.0 concerning variable handling. External variables (from the environment, the HTTP request, cookies or the web server) are no longer registered in the global scope by default. The preferred method of accessing these external variables is by using the new Superglobal arrays, introduced in PHP 4.1.0. More information about this change:
PHP Manual: Predefined variables
The PHP 4.1.0 release announcement
Thomas Oertli's article on secure programming in PHP