PDA

View Full Version : PHP 5.3.2 Released!



panosru
03-05-2010, 12:18 PM
PHP 5.3.2 Release Announcement (http://www.php.net/archive/2010.php#id2010-03-04-1)

[04-Mar-2010] The PHP development team is proud to announce the immediate release of PHP 5.3.2. This is a maintenance release in the 5.3 series, which includes a large number of bug fixes.

Security Enhancements and Fixes in PHP 5.3.2:

Improved LCG entropy. (Rasmus, Samy Kamkar)
Fixed safe_mode validation inside tempnam() when the directory path does not end with a /). (Martin Jansen)
Fixed a possible open_basedir/safe_mode bypass in the session extension identified by Grzegorz Stachowiak. (Ilia)


Key Bug Fixes in PHP 5.3.2 include:

Added support for SHA-256 and SHA-512 to php's crypt.
Added protection for $_SESSION from interrupt corruption and improved "session.save_path" check.
Fixed bug #51059 (http://bugs.php.net/bug.php?id=51059) (crypt crashes when invalid salt are given).
Fixed bug #50940 (http://bugs.php.net/bug.php?id=50940) Custom content-length set incorrectly in Apache sapis.
Fixed bug #50847 (http://bugs.php.net/bug.php?id=50847) (strip_tags() removes all tags greater then 1023 bytes long).
Fixed bug #50723 (http://bugs.php.net/bug.php?id=50723) (Bug in garbage collector causes crash).
Fixed bug #50661 (http://bugs.php.net/bug.php?id=50661) (DOMDocument::loadXML does not allow UTF-16).
Fixed bug #50632 (http://bugs.php.net/bug.php?id=50632) (filter_input() does not return default value if the variable does not exist).
Fixed bug #50540 (http://bugs.php.net/bug.php?id=50540) (Crash while running ldap_next_reference test cases).
Fixed bug #49851 (http://bugs.php.net/bug.php?id=49851) (http wrapper breaks on 1024 char long headers).
Over 60 other bug fixes.


For users upgrading from PHP 5.2 there is a migration guide available here (http://php.net/migration53), detailing the changes between those releases and PHP 5.3.

Further information and downloads:

For a full list of changes in PHP 5.3.2, see the ChangeLog (http://www.php.net/ChangeLog-5.php#5.3.2). For source downloads please visit our downloads page (http://www.php.net/downloads.php), Windows binaries can be found on windows.php.net/download/ (http://windows.php.net/download/).

~~~~~~~~~~~~~~~~~~~~~~
Source: www.php.net

smtalk
03-06-2010, 02:54 AM
To update immediately:


cd /usr/local/directadmin/custombuild
./build update
perl -pi -e 's/php53:5.3.1:41fbb368d86acb13fc3519657d277681/php53:5.3.2:4480d7c6d6b4a86de7b8ec8f0c2d1871/' versions.txt
wget -O php-5.3.2.tar.gz http://www.php.net/get/php-5.3.2.tar.gz/from/www.php.net/mirror
./build php n

nev
08-09-2010, 01:10 AM
hey i tried your upgrade procedure sm but after i did it i changed the options.conf so it was set to 5.3 but then it says something php error in options.conf what should i do?

armo
08-22-2010, 04:13 PM
and a key feature might be the mysqlnd support as of 5.3
have anybody connected through mysqlnd after upgrading by custombuild ? any problem , any manual configuration requirement , ... ?