Guide to PHP SecurityQuicksearchCalendar
|
Friday, September 1. 2006PHP 5.2.0 RC3 Released!
The third and possibly the final release candidate of PHP 5.2.0 is now available for download.
http://downloads.php.net/ilia/php-5.2.0RC3.tar.bz2 (79a9e8ecd8edcfcc033bbd49967ad47a) http://downloads.php.net/ilia/php-5.2.0RC3.tar.gz (735c8f0385483afc732c09c5bb4257a3) The number of changes are fairly small, which is always good when nearing the final release, but there were 2 important fixes that need attention. One is fix for a memory corruption in the new memory manager, something that could've caused random, hard to reproduce crashes. The second was a fix in the session extension's shutdown order, which caused problems when native objects (objects created by other PHP extensions) were stored inside $_SESSION. Please try this release and give you feedback via qa mailing list or via this blog, either way we'd like to hear how this release works with your code. Comments
Display comments as
(Linear | Threaded)
Hi Ilia,
Good to see such a good progress for PHP 5.2! I hope the compile problems with PHP 5.1.6, libxml2 and libxslt during the last days are gone with PHP 5.2.0RC3. Keep up the good work and head for PHP 6, Unicode, opcode cache, Aspect Programming, finally, yes Renй
Any chance to get an sqlite3 interface and dbx support for sqlite3 as well as the sqlite3 version upgrade or is sqlite3 pdo only still?
There are no such plans, the reason being as to provide continued support for old sqlite database.
Not sure where the assumption about AOP , there is nothing new in PHP6 in this respect.
Well,thinks.
May be I need runkit realy http://php.net/runkit
I referred to the rewrite of the current PECL extension during the Google Summer of Code 2006:
http://php.net/ideas.php http://code.google.com/soc/php/appinfo.html?csaid=E21E7E68ED9618C
Hello,Rene:
I googled "phpAspect" ,find it: http://phpaspect.org/wiki/doku.php phpAspect,it's very interesting and clean. Are you the author of it?Keep up the good work too best regards
BTW:
I like phpAspect's Syntax,it's simple and easy: "pointcut,before,after...",and so on
Yes, it is very interesting, it can solve many kinds of problems easily.
And no, the author is William Candillon, as you can see on the Google Summer of Code side. He just released slides about the upcoming version on his blog: http://wcandillon.blogspot.com/
this is fantastic!!! on my server php had bad memory leaks for over half a year! i had to set PHP_FCGI_MAX_REQUESTS to 250-300. it was eating over 1gb more after half an hour after it was started (at up to 300 php-pages/sec)... i always installed the newest stable.
going from 5.1.6 to this 5.2.0RC3 fixed it! the memory-usage-graph is completly flat =) THANK YOU GUYS!
Dear Ilia,
I have problems with compiling PHP 5.2.0RC3 together with PEAR. External libraries: Apache 2.2.3, libxml 2.6.26, libcurl 7.15.5, OpenSSL 0.9.8c, OpenLDAP 2.3.27, MySQL 5.0.24a, libTidy 1 September 2005 (tidy_src_051026.tgz), libxslt 1.1.17 export LD_LIBRARY_PATH=/usr/local/applications/lamp/oracle/lib ./configure --prefix=/usr/local/applications/lamp/php --with-apxs2=/usr/local/applications/lamp/httpd/bin/apxs --wi th-mysqli=/usr/local/applications/lamp/mysql/bin/mysql_config --with-mysql=/usr/local/applications/lamp/mysql --with-zlib-di r=/usr/lib/ --enable-track-vars=yes --enable-url-includes --enable-sysvshm=yes --enable-sysvsem=yes --enable-ftp --enable-cale ndar --with-config-file-path=/usr/local/applications/lamp/php --with-gd --with-xmlrpc --with-curl=/usr/local/applications/lam p2/curl --with-bz2 --enable-shmop --with-tidy=/usr/local/applications/lamp/tidy --with-libxml-dir=/usr/local/applications/lam p2/libxml2 --with-openssl=/usr/local/applications/lamp/openssl --with-ldap=/usr/local/applications/lamp/openldap --with-pdo- sqlite --with-pdo-mysql=/usr/local/applications/lamp/mysql --enable-pdo --with-pdo-oci=/usr/local/applications/lamp/oracle - -with-oci8=/usr/local/applications/lamp/oracle --enable-shared --disable-static --enable-bcmath --enable-mbstring --with-xsl= /usr/local/applications/lamp/libxsl --enable-sigchild --enable-zip --without-pear compiles and installs just fine, but with PEAR the upper configure produces the following errors while make install, immediately after "Installing PEAR environment:". configure: warning: You will need re2c 0.9.11 or later if you want to regenerate PHP parsers. configure: warning: lemon versions supported for regeneration of libsqlite parsers: 1.0 (found: none). /tmp/php-5.2.0RC3/ext/openssl/openssl.c: In function `php_openssl_x509_from_zval': /tmp/php-5.2.0RC3/ext/openssl/openssl.c:833: warning: passing arg 1 of `PEM_ASN1_read_bio' from incompat ible pointer type /tmp/php-5.2.0RC3/ext/ldap/ldap.c: In function `zif_ldap_connect': /tmp/php-5.2.0RC3/ext/ldap/ldap.c:422: warning: assignment makes pointer from integer without a cast /tmp/php-5.2.0RC3/ext/ldap/ldap.c: In function `zif_ldap_get_entries': /tmp/php-5.2.0RC3/ext/ldap/ldap.c:1070: warning: assignment makes pointer from integer without a cast /tmp/php-5.2.0RC3/ext/ldap/ldap.c: In function `zif_ldap_get_attributes': /tmp/php-5.2.0RC3/ext/ldap/ldap.c:1202: warning: assignment makes pointer from integer without a cast /tmp/php-5.2.0RC3/ext/ldap/ldap.c: In function `zif_ldap_get_values': /tmp/php-5.2.0RC3/ext/ldap/ldap.c:1253: warning: assignment makes pointer from integer without a cast /tmp/php-5.2.0RC3/ext/xmlrpc/xmlrpc-epi-php.c: In function `zif_xmlrpc_encode_request': /tmp/php-5.2.0RC3/ext/xmlrpc/xmlrpc-epi-php.c:692: warning: passing arg 1 of `_efree' discards qualifiers from pointer target type /usr/local/applications/lamp/httpd/build/instdso.sh SH_LIBTOOL='/usr/local/applications/lamp/httpd/build/libtool' libphp5.la /usr/local/applications/lamp/httpd/modules libtool: install: warning: remember to run `libtool --finish /tmp/php-5.2.0RC3/libs' chmod 755 /usr/local/applications/lamp/httpd/modules/libphp5.so [activating module `php5' in /usr/local/applications/lamp/httpd/conf/httpd.conf] /tmp/php-5.2.0RC3/sapi/cli/php: error while loading shared libraries: /tmp/php-5.2.0RC3/sapi/cli/php: undefined symbol: xmlParserInputBufferCreateFilenameDefault make[1]: *** [install-pear-installer] Error 127 make: *** [install-pear] Error 2 Best regards, Renй
What version of libxml2 are you using? It sounds like the version you have is too old and is lacking the needed symbols.
Hi Ilia,
It seems so, but as I wrote, I am using the current libxml 2.6.26.
Perhaps you have an old version of the library laying somewhere and the linker picked up on it?
I found a directory with header files:
/usr/include/libxml2/libxml/ How can I force the linker to always respect the --with-libxml-dir path?
The the wrong libs/headers sit in a common directory such as /usr/include or /usr/local/include it may be difficult if not impossible to prevent PHP from using them. In those cased the recommended solution is to remove the old libraries/headers.
output: "\u4e2d\u6587" why "\u4e2d\u6587",not "中文" ?
That's how JavaScript represents unicode data.
|
ArchivesCategoriesSyndicate This BlogBlog Administration |
|||||||||||||||||||||||||||||||||||||||||||||||||










Comments