# PHP 5.2.1RC2 Released

- Thread: https://externals.io/message/27262
- Original archive: https://news-web.php.net/php.internals/27262
- Started by Ilia Alshanetsky on 2007-01-05T00:13:44+00:00
- Messages: 9
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #27262 — Ilia Alshanetsky — 2007-01-05T00:13:44+00:00

URL: https://externals.io/message/27262#27262

The 2nd release candidate for PHP 5.2.1 is now available for  
download. The tarballs can be found here:

http://downloads.php.net/ilia/php-5.2.1RC2.tar.bz2  
(cc6024531e3d4058e32cf740e2fe535f)
http://downloads.php.net/ilia/php-5.2.1RC2.tar.gz  
(3f89c31687762a39f1360b380dd315b4)

and the Win32 binaries will be available in short order.

Since the last release over 30 different bug fixes were made and the  
two pending patches relating to is_numeric_string() optimization and  
internal heap protection for the Zend Engine allocator were added.  
Another important change was the fact  that the memory limit is now  
always enabled and to accommodate this change the default limit value  
was raised to 128 megabytes to avoid script breakage. We do not  
anticipate any regressions to be introduced by this RC, but I would  
still like to ask everyone to take a few minutes and test it against  
their code base. If you come across any issues please report them at  
http://bugs.php.net/.

With this release we are nearing the final stretch is the release  
cycle, so I'd like to ask all developers to refrain from making any  
commits to the 5.2 tree that are not bug fixes. If all goes well the  
final RC (RC3) will be available in 2 weeks to be shortly followed by  
the final release.

Ilia

---

## #27263 — Edin Kadribasic — 2007-01-05T02:08:06+00:00

URL: https://externals.io/message/27262#27263 · In reply to: #27262

The windows build can be downloaded from:

http://downloads.php.net/edink/php-5.2.1RC2-Win32.zip
(aaabe7eda5cef1be6f9c51c621fbbfd3)
http://downloads.php.net/edink/pecl-5.2.1RC2-Win32.zip
(6f97b2365bfa56874801fa5053d387e0)
http://downloads.php.net/edink/php-debug-pack-5.2.1RC2-Win32.zip
(592f2fc11c9ed4d891fb17b9e967441c)

Edin


Ilia Alshanetsky wrote:
> The 2nd release candidate for PHP 5.2.1 is now available for download.
> The tarballs can be found here:
> 
> http://downloads.php.net/ilia/php-5.2.1RC2.tar.bz2
> (cc6024531e3d4058e32cf740e2fe535f)
> http://downloads.php.net/ilia/php-5.2.1RC2.tar.gz
> (3f89c31687762a39f1360b380dd315b4)
> 
> and the Win32 binaries will be available in short order.
> 
> Since the last release over 30 different bug fixes were made and the two
> pending patches relating to is_numeric_string() optimization and
> internal heap protection for the Zend Engine allocator were added.
> Another important change was the fact  that the memory limit is now
> always enabled and to accommodate this change the default limit value
> was raised to 128 megabytes to avoid script breakage. We do not
> anticipate any regressions to be introduced by this RC, but I would
> still like to ask everyone to take a few minutes and test it against
> their code base. If you come across any issues please report them at
> http://bugs.php.net/.
> 
> With this release we are nearing the final stretch is the release cycle,
> so I'd like to ask all developers to refrain from making any commits to
> the 5.2 tree that are not bug fixes. If all goes well the final RC (RC3)
> will be available in 2 weeks to be shortly followed by the final release.
> 
> Ilia

---

## #27268 — Jan Schneider — 2007-01-05T10:23:14+00:00

URL: https://externals.io/message/27262#27268 · In reply to: #27262

Zitat von Ilia Alshanetsky <ilia@ilia.ws>:

> The 2nd release candidate for PHP 5.2.1 is now available for  
> download. The tarballs can be found here:

The ming extension doesn't compile at the moment:

/home/jan/software/php-5.2.1RC2/ext/ming/ming.c: In function  
'getFontOrFontChar':
/home/jan/software/php-5.2.1RC2/ext/ming/ming.c:3847: error:  
'fontchar_class_entry_ptr' undeclared (first use in this function)
/home/jan/software/php-5.2.1RC2/ext/ming/ming.c:3847: error: (Each  
undeclared identifier is reported only once
/home/jan/software/php-5.2.1RC2/ext/ming/ming.c:3847: error: for each  
function it appears in.)
/home/jan/software/php-5.2.1RC2/ext/ming/ming.c: In function  
'zm_startup_ming':
/home/jan/software/php-5.2.1RC2/ext/ming/ming.c:4234: error:  
'SWFTEXTFIELD_USEFONT' undeclared (first use in this function)
/home/jan/software/php-5.2.1RC2/ext/ming/ming.c:4235: error:  
'SWFTEXTFIELD_AUTOSIZE' undeclared (first use in this function)
/home/jan/software/php-5.2.1RC2/ext/ming/ming.c:4255: error:  
'SWF_SOUND_NOT_COMPRESSED' undeclared (first use in this function)
/home/jan/software/php-5.2.1RC2/ext/ming/ming.c:4256: error:  
'SWF_SOUND_ADPCM_COMPRESSED' undeclared (first use in this function)
/home/jan/software/php-5.2.1RC2/ext/ming/ming.c:4257: error:  
'SWF_SOUND_MP3_COMPRESSED' undeclared (first use in this function)
/home/jan/software/php-5.2.1RC2/ext/ming/ming.c:4258: error:  
'SWF_SOUND_NOT_COMPRESSED_LE' undeclared (first use in this function)
/home/jan/software/php-5.2.1RC2/ext/ming/ming.c:4259: error:  
'SWF_SOUND_NELLY_COMPRESSED' undeclared (first use in this function)
/home/jan/software/php-5.2.1RC2/ext/ming/ming.c:4260: error:  
'SWF_SOUND_5KHZ' undeclared (first use in this function)
/home/jan/software/php-5.2.1RC2/ext/ming/ming.c:4261: error:  
'SWF_SOUND_11KHZ' undeclared (first use in this function)
/home/jan/software/php-5.2.1RC2/ext/ming/ming.c:4262: error:  
'SWF_SOUND_22KHZ' undeclared (first use in this function)
/home/jan/software/php-5.2.1RC2/ext/ming/ming.c:4263: error:  
'SWF_SOUND_44KHZ' undeclared (first use in this function)
/home/jan/software/php-5.2.1RC2/ext/ming/ming.c:4264: error:  
'SWF_SOUND_8BITS' undeclared (first use in this function)
/home/jan/software/php-5.2.1RC2/ext/ming/ming.c:4265: error:  
'SWF_SOUND_16BITS' undeclared (first use in this function)
/home/jan/software/php-5.2.1RC2/ext/ming/ming.c:4266: error:  
'SWF_SOUND_MONO' undeclared (first use in this function)
/home/jan/software/php-5.2.1RC2/ext/ming/ming.c:4267: error:  
'SWF_SOUND_STEREO' undeclared (first use in this function)
make: *** [ext/ming/ming.lo] Fehler 1


Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/

---

## #27270 — Nuno Lopes — 2007-01-05T10:56:16+00:00

URL: https://externals.io/message/27262#27270 · In reply to: #27268

Yes, the ming extension doesn't compile with older libmings on php 5.2 and 
6.
I have already warned the extension maintainer a month ago or so (at least 
bump the minimum required libming version).

Nuno


----- Original Message ----- 
From: "Jan Schneider" <jan@horde.org>
To: <internals@lists.php.net>
Sent: Friday, January 05, 2007 10:23 AM
Subject: Re: [PHP-DEV] PHP 5.2.1RC2 Released


Zitat von Ilia Alshanetsky <ilia@ilia.ws>:

> The 2nd release candidate for PHP 5.2.1 is now available for  download. 
> The tarballs can be found here:

The ming extension doesn't compile at the moment:

/home/jan/software/php-5.2.1RC2/ext/ming/ming.c: In function
'getFontOrFontChar':
/home/jan/software/php-5.2.1RC2/ext/ming/ming.c:3847: error:
'fontchar_class_entry_ptr' undeclared (first use in this function)
/home/jan/software/php-5.2.1RC2/ext/ming/ming.c:3847: error: (Each
undeclared identifier is reported only once
/home/jan/software/php-5.2.1RC2/ext/ming/ming.c:3847: error: for each
function it appears in.)
/home/jan/software/php-5.2.1RC2/ext/ming/ming.c: In function
'zm_startup_ming':
/home/jan/software/php-5.2.1RC2/ext/ming/ming.c:4234: error:
'SWFTEXTFIELD_USEFONT' undeclared (first use in this function)
/home/jan/software/php-5.2.1RC2/ext/ming/ming.c:4235: error:
'SWFTEXTFIELD_AUTOSIZE' undeclared (first use in this function)
/home/jan/software/php-5.2.1RC2/ext/ming/ming.c:4255: error:
'SWF_SOUND_NOT_COMPRESSED' undeclared (first use in this function)
/home/jan/software/php-5.2.1RC2/ext/ming/ming.c:4256: error:
'SWF_SOUND_ADPCM_COMPRESSED' undeclared (first use in this function)
/home/jan/software/php-5.2.1RC2/ext/ming/ming.c:4257: error:
'SWF_SOUND_MP3_COMPRESSED' undeclared (first use in this function)
/home/jan/software/php-5.2.1RC2/ext/ming/ming.c:4258: error:
'SWF_SOUND_NOT_COMPRESSED_LE' undeclared (first use in this function)
/home/jan/software/php-5.2.1RC2/ext/ming/ming.c:4259: error:
'SWF_SOUND_NELLY_COMPRESSED' undeclared (first use in this function)
/home/jan/software/php-5.2.1RC2/ext/ming/ming.c:4260: error:
'SWF_SOUND_5KHZ' undeclared (first use in this function)
/home/jan/software/php-5.2.1RC2/ext/ming/ming.c:4261: error:
'SWF_SOUND_11KHZ' undeclared (first use in this function)
/home/jan/software/php-5.2.1RC2/ext/ming/ming.c:4262: error:
'SWF_SOUND_22KHZ' undeclared (first use in this function)
/home/jan/software/php-5.2.1RC2/ext/ming/ming.c:4263: error:
'SWF_SOUND_44KHZ' undeclared (first use in this function)
/home/jan/software/php-5.2.1RC2/ext/ming/ming.c:4264: error:
'SWF_SOUND_8BITS' undeclared (first use in this function)
/home/jan/software/php-5.2.1RC2/ext/ming/ming.c:4265: error:
'SWF_SOUND_16BITS' undeclared (first use in this function)
/home/jan/software/php-5.2.1RC2/ext/ming/ming.c:4266: error:
'SWF_SOUND_MONO' undeclared (first use in this function)
/home/jan/software/php-5.2.1RC2/ext/ming/ming.c:4267: error:
'SWF_SOUND_STEREO' undeclared (first use in this function)
make: *** [ext/ming/ming.lo] Fehler 1


Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/

---

## #27276 — Firman Wandayandi — 2007-01-05T13:49:01+00:00

URL: https://externals.io/message/27262#27276 · In reply to: #27263

> The windows build can be downloaded from:
>
> http://downloads.php.net/edink/php-5.2.1RC2-Win32.zip
> (aaabe7eda5cef1be6f9c51c621fbbfd3)
> http://downloads.php.net/edink/pecl-5.2.1RC2-Win32.zip
> (6f97b2365bfa56874801fa5053d387e0)
> http://downloads.php.net/edink/php-debug-pack-5.2.1RC2-Win32.zip
> (592f2fc11c9ed4d891fb17b9e967441c)
>

Some extensions seems to be failed to load via Apache, here is the log:

[Fri Jan 05 20:41:54 2007] [notice] Apache/2.0.59 (Win32) DAV/2
mod_fastcgi/2.4.2 mod_scgi/1.7 PHP/5.2.1RC2 SVN/1.4.2 configured --
resuming normal operations
[Fri Jan 05 20:41:54 2007] [notice] Server built: Jul 27 2006 15:55:03
[Fri Jan 05 20:41:54 2007] [notice] Parent: Created child process 3468
PHP Warning:  PHP Startup: Unable to load dynamic library
'C:\\System\\php5\\ext\\php_mbstring.dll' - A dynamic link library
(DLL) initialization routine failed.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'C:\\System\\php5\\ext\\php_bz2.dll' - A dynamic link library (DLL)
initialization routine failed.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'C:\\System\\php5\\ext\\php_pdo.dll' - A dynamic link library (DLL)
initialization routine failed.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'C:\\System\\php5\\ext\\php_pdo_sqlite.dll' - The specified module
could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'C:\\System\\php5\\ext\\php_pdo_mysql.dll' - The specified module
could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'C:\\System\\php5\\ext\\php_pdo_firebird.dll' - The specified module
could not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'C:\\System\\php5\\ext\\php_sqlite.dll' - The specified module could
not be found.\r\n in Unknown on line 0


From CLI:

C:\>php -v
PHP 5.2.1RC2 (cli) (built: Jan  5 2007 02:30:49)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
    with Xdebug v2.0.0RC2-dev, Copyright (c) 2002, 2003, 2004, 2005,
2006, by Derick Rethans

C:\>php -m
[PHP Modules]
bcmath
bz2
calendar
com_dotnet
ctype
date
dom
fdf
filter
ftp
gd
gettext
hash
iconv
imap
interbase
json
ldap
libxml
mbstring
mhash
mime_magic
ming
mysql
mysqli
odbc
openssl
pcre
PDO
PDO_Firebird
pdo_mysql
pdo_sqlite
Reflection
session
SimpleXML
sockets
SPL
SQLite
standard
tidy
tokenizer
wddx
xdebug
xml
xmlreader
xmlrpc
xmlwriter
xsl
zip
zlib

[Zend Modules]
Xdebug

-- 
Firman Wandayandi <http://firmanw.org/

---

## #27282 — Ilia Alshanetsky — 2007-01-05T14:51:36+00:00

URL: https://externals.io/message/27262#27282 · In reply to: #27276

Did you update those extensions with the binaries found in the  
5.2.1RC2 zip file?

Ilia Alshanetsky

---

## #27283 — Firman Wandayandi — 2007-01-05T15:31:27+00:00

URL: https://externals.io/message/27262#27283 · In reply to: #27282

> Did you update those extensions with the binaries found in the
> 5.2.1RC2 zip file?
>

Yep, whole of the thing (PHP and PECL). Did a clean setup here.

-- 
Firman Wandayandi <http://firmanw.org/

---

## #27355 — Tom Sommer — 2007-01-11T12:57:42+00:00

URL: https://externals.io/message/27262#27355 · In reply to: #27262

> With this release we are nearing the final stretch is the release
> cycle, so I'd like to ask all developers to refrain from making any commits
> to the 5.2 tree that are not bug fixes. If all goes well the final RC
> (RC3) will be available in 2 weeks to be shortly followed by
> the final release.

Any word on bug #36008, is it fixed?

It's pretty nasty for people running accounting and financially critical
applications.

// Tom

---

## #27356 — Rasmus Lerdorf — 2007-01-11T14:38:48+00:00

URL: https://externals.io/message/27262#27356 · In reply to: #27355

Tom Sommer wrote:
> 
> 
> > […]
> 
> Any word on bug #36008, is it fixed?
> 
> It's pretty nasty for people running accounting and financially critical
> applications.

How is that a bug?  Floating point values need to be sanitized before
you do any sort of calculation with them or you will be magnifying any
system-level imprecision.  In that example he sanitized it by converting
it to a string which isn't magic, it is just another way to truncate the
imprecision.  Any decent accounting/financial application should be
working in integers (as in cents) and should never run into these
issues.  There is nothing we can do to fix this.

-Rasmus
