PDA

Bekijk Volledige Versie : PHP 5.2.9 Released!



Herbert
27/02/09, 18:03
libxml2 2.7 is fixed
Is in custombuild aanwezig.
Wie even wachten kan: MySQL 5.0.77 is ook Released



PHP NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||| |||||||||||||||||||||||||||||
26 Feb 2009, PHP 5.2.9
- Changed __call() to be invoked on private/protected method access, similar to
properties and __get(). (Andrei)

- Added optional sorting type flag parameter to array_unique(). Default is
SORT_REGULAR. (Andrei)

- Fixed a crash on extract in zip when files or directories entry names contain
a relative path. (Pierre)
- Fixed error conditions handling in stream_filter_append(). (Arnaud)
- Fixed zip filename property read. (Pierre)
- Fixed explode() behavior with empty string to respect negative limit. (Shire)
- Fixed security issue in imagerotate(), background colour isn't validated
correctly with a non truecolour image. Reported by Hamid Ebadi,
APA Laboratory (Fixes CVE-2008-5498). (Scott)
- Fixed a segfault when malformed string is passed to json_decode(). (Scott)
- Fixed bug in xml_error_string() which resulted in messages being
off by one. (Scott)

- Fixed bug #47422 (modulus operator returns incorrect results on 64 bit
linux). (Matt)
- Fixed bug #47399 (mb_check_encoding() returns true for some illegal SJIS
characters). (for-bugs at hnw dot jp, Moriyoshi)
- Fixed bug #47353 (crash when creating a lot of objects in object
destructor). (Tony)
- Fixed bug #47322 (sscanf %d doesn't work). (Felipe)
- Fixed bug #47282 (FILTER_VALIDATE_EMAIL is marking valid email addresses
as invalid). (Ilia)
- Fixed bug #47220 (segfault in dom_document_parser in recovery mode). (Rob)
- Fixed bug #47217 (content-type is not set properly for file uploads). (Ilia)
- Fixed bug #47174 (base64_decode() interprets pad char in mid string as
terminator). (Ilia)
- Fixed bug #47165 (Possible memory corruption when passing return value by
reference). (Dmitry)
- Fixed bug #47152 (gzseek/fseek using SEEK_END produces strange results).
(Felipe)
- Fixed bug #47131 (SOAP Extension ignores "user_agent" ini setting). (Ilia)
- Fixed bug #47109 (Memory leak on $a->{"a"."b"} when $a is not an object).
(Etienne, Dmitry)
- Fixed bug #47104 (Linking shared extensions fails with icc). (Jani)
- Fixed bug #47049 (SoapClient::__soapCall causes a segmentation fault).
(Dmitry)
- Fixed bug #47048 (Segfault with new pg_meta_data). (Felipe)
- Fixed bug #47042 (PHP cgi sapi is removing SCRIPT_FILENAME for non
apache). (Sriram Natarajan)
- Fixed bug #47037 (No error when using fopen with empty string). (Cristian
Rodriguez R., Felipe)
- Fixed bug #47035 (dns_get_record returns a garbage byte at the end of a
TXT record). (Felipe)
- Fixed bug #47027 (var_export doesn't show numeric indices on ArrayObject).
(Derick)
- Fixed bug #46985 (OVERWRITE and binary mode does not work, regression
introduced in 5.2.8). (Pierre)
- Fixed bug #46973 (IPv6 address filter rejects valid address). (Felipe)
- Fixed bug #46964 (Fixed pdo_mysql build with older version of MySQL). (Ilia)
- Fixed bug #46959 (Unable to disable PCRE). (Scott)
- Fixed bug #46918 (imap_rfc822_parse_adrlist host part not filled in
correctly). (Felipe)
- Fixed bug #46889 (Memory leak in strtotime()). (Derick)
- Fixed bug #46887 (Invalid calls to php_error_docref()). (oeriksson at
mandriva dot com, Ilia)
- Fixed bug #46873 (extract($foo) crashes if $foo['foo'] exists). (Arnaud)
- Fixed bug #46843 (CP936 euro symbol is not converted properly). (ty_c at
cybozuy dot co dot jp, Moriyoshi)
- Fixed bug #46798 (Crash in mssql extension when retrieving a NULL value
inside a binary or image column type). (Ilia)
- Fixed bug #46782 (fastcgi.c parse error). (Matt)
- Fixed bug #46760 (SoapClient doRequest fails when proxy is used). (Felipe)
- Fixed bug #46748 (Segfault when an SSL error has more than one error).
(Scott)
- Fixed bug #46739 (array returned by curl_getinfo should contain
content_type key). (Mikko)
- Fixed bug #46699 (xml_parse crash when parser is namespace aware). (Rob)
- Fixed bug #46419 (Elements of associative arrays with NULL value are
lost). (Dmitry)
- Fixed bug #46282 (Corrupt DBF When Using DATE). (arne at bukkie dot nl)
- Fixed bug #46026 (bz2.decompress/zlib.inflate filter tries to decompress
after end of stream). (Greg)
- Fixed bug #46005 (User not consistently logged under Apache2). (admorten
at umich dot edu, Stas)
- Fixed bug #45996 (libxml2 2.7 causes breakage with character data in
xml_parse()). (Rob)
- Fixed bug #45940 (MySQLI OO does not populate connect_error property on
failed connect). (Johannes)
- Fixed bug #45923 (mb_st[r]ripos() offset not handled correctly). (Moriyoshi)
- Fixed bug #45327 (memory leak if offsetGet throws exception). (Greg)
- Fixed bug #45239 (Encoding detector hangs with mbstring.strict_detection
enabled). (Moriyoshi)
- Fixed bug #45161 (Reusing a curl handle leaks memory). (Mark Karpeles, Jani)
- Fixed bug #44336 (Improve pcre UTF-8 string matching performance). (frode
at coretrek dot com, Nuno)
- Fixed bug #43841 (mb_strrpos() offset is byte count for negative values).
(Moriyoshi)
- Fixed bug #37209 (mssql_execute with non fatal errors). (Kalle)
- Fixed bug #35975 (Session cookie expires date format isn't the most
compatible. Now matches that of setcookie()). (Scott)

the-future-web
27/02/09, 18:06
Geupdate en zonder problemen verlopen

Geert-Jan
27/02/09, 18:08
ik had hem gister al gezien, echter na 5.2.7 toch verstandiger om een paar dagen te wachten voor de productie omgeving....

RobinJB
27/02/09, 18:18
Geupdate op testserver zonder problemen.

Herbert
27/02/09, 18:28
Bij mij kwam dit goed uit, zie topic:
http://www.webhostingtalk.nl/scripting-en-programmeren/147015-oscommerce-mollie-ideal-fout-string.html
Hier ook geupdated zonder problemen.

Marin
27/02/09, 18:30
Staat op onze testserver. Nog geen resultaten :D

Tim.Bracquez
27/02/09, 20:03
Staat op onze testserver. Nog geen resultaten :D
Hier hetzelfde, eens testen

Desmond
27/02/09, 22:11
We hebben ze zonder problemen geupdate (DA servers), werkt prima op alle servers :)

systemdeveloper
27/02/09, 22:20
Draait hier overal toppie (debian, freebsd).
Al wilde een 512mb vps de php5 niet compileren via de custombuild. Maar een 'cd' en 'make install' gingen probleemloos.

marsipulami
28/02/09, 10:42
ik zal wel weer iets fout doen, alleen ik wou op een test server ook ff updaten naar 5.2.9 alleen krijg et niet voorelkaar.

zou toch moeten werken met #apt-get upgrade php5 of doe ik nu iets fout?

VinceSTM
28/02/09, 10:58
ik zal wel weer iets fout doen, alleen ik wou op een test server ook ff updaten naar 5.2.9 alleen krijg et niet voorelkaar.

zou toch moeten werken met #apt-get upgrade php5 of doe ik nu iets fout?

cd /usr/local/directadmin/custombuild/
./build update
./build update_versions

the-future-web
01/03/09, 18:03
ik zal wel weer iets fout doen, alleen ik wou op een test server ook ff updaten naar 5.2.9 alleen krijg et niet voorelkaar.

zou toch moeten werken met #apt-get upgrade php5 of doe ik nu iets fout?


cd /usr/local/directadmin/custombuild/
./build update
./build update_versions

Of

cd /usr/local/directadmin/custombuild/
./build update
./build php n


Hier wat build commando,s

To build everything run:
./build all

NOTE: Command all will compile everything as set in the options.conf, please take a look at "./build options"!

Other options:
./build apache
./build autoconf
./build automake
./build awstats
./build create_options
./build cron
./build curl
./build dovecot
./build exim_conf
./build freetype
./build iconv
./build icu
./build libjpeg
./build libpng
./build libtool
./build libxml2
./build libxslt
./build mcrypt
./build mhash
./build mod_perl
./build mysql
./build pcre
./build php
./build proftpd
./build rewrite_confs
./build secure_php
./build suphp
./build update_versions
./build update_webapps
./build used_configs
./build versions
./build webalizer
./build zend
./build zlib

Applications:
./build phpmyadmin
./build atmail
./build roundcube
./build squirrelmail
./build uebimiau

Jailed shell (beta):
./build all_jail
./build coreutils
./build shell
./build smtp_mail
./jail/jail_user.sh user

Remove old build data:
./build clean
./build clean_old_webapps

Get latest build script or (and) data:
./build update
./build update_script

Get data for current build script:
./build update_data

Set option:
./build set option_name value

These functions are only recommended for experienced users:
./build php4-cli
./build php5-cli
./build php4-cgi
./build php5-cgi
./build todovecot

You can pass a 2nd argument to automate the input:
./build <option> d : do the default action
./build <option> y : answer yes to all questions
./build <option> n : answer no to all questions

marsipulami
01/03/09, 18:36
dank je wel voor alle commands

the-future-web
01/03/09, 18:52
dank je wel voor alle commands

Graag gedaan hoor.

Laat je ons even weten of het gelukt is met het upgraden van je php?

Is altijd wel leuk om te weten.

Geert-Jan
01/03/09, 22:10
dank je wel voor alle commands

Als je nou;


# cd /usr/local/directadmin/custombuild
# ./build


invoert, dan leer je ook nog eens iets van de basis....

daveww
02/03/09, 00:55
Zojuist op 3 servers alvast PHP 5.2.9 geïnstalleerd, zonder enige problemen. Alles functioneert nog steeds naar behoren!

FunnyMedia
06/03/09, 19:02
Hier op 1 server geinstalleerd en heel snel weer terug gegaan naar 5.2.6 versie met een ouce LIBXML versie.
Reden, ideal via mollie werkt niet meer en feeds worden incorrect opgehaald.
Met de oude versies geen last van, met de nieuwe versies wel.
Zolang de scripters van mollie en mezelf hier geen oplossing voor hebben geen update voor mij.

Herbert
06/03/09, 19:49
FunnyMedia had je de libxml2 ook geupdated?
Zoals ik aangaf dit probleem had ik ook in PHP 5.2.8 en in 5.2.9 niet meer.
Ik heb hier wel een fix voor mollie ideal met oscommerce.