Guide to PHP SecurityQuicksearchCalendar
|
Thursday, October 19. 2006PHP 5.2.0RC6 is out!
The 5.2.0 release is turning to be quite an adventure, we can't seem to get the bloody thing out. Hopefully RC6 will be the last release candidate, but given that I've said that about the last 3RCs, who knows...
This said, the delays were not entirely unproductive and every time more bugs were fixed and language was generally made better, so it is not all bad. The release snapshots is available here: http://downloads.php.net/ilia/php-5.2.0RC6.tar.bz2 (md5: 5a146c08f85d8535c76fe6219281a06e) and win32 binaries will be made available shortly be Edin. As always I'd like to ask everyone to give this release a try to make sure no regressions were introduced and to make sure that your applications can still work with this release. If no major issues are uncovered, maybe, just maybe 5.2.0 in a week. Comments
Display comments as
(Linear | Threaded)
Dear Ilia,
Good to see such a good progress, and hopefully PHP 5.2 next week. Are you planning to upgrade libsqlite to 3.3.8? Best regards, Renй
Probably for 5.2.1, however I may wait with the upgrade until the 2nd itteration of the text search (a much faster one) is deployed. This means we may wait until 3.3.9 before synchronizing the bundled lib.
I'm downloading, and i hope my app still work well with it, thanks ilia. Keep up the good work guys.
I wonder if timelib config error will still show up in my MS VC++ 6.
Hello Ilia,
it seems that RC6 has some slowdown in processing time compared to older RC's. My testpage renders now in an average of 127ms compared to 120ms in older RC's (i tried from RC3 on without APC cache). The test page pokes heavily arround with DOM/XSL stuff. Time measurement method is getting the time in microseconds at script start / end and reporting the difference. Obviously, the difference isn't really dramatic, but is there a compile time / run time optimizing option which I had to enable especially in RC6 or is it just of internal changes in PHP which I can't influence?
I can't think of anything that would've made RC6 any slower, in fact my local benchmark don't seem to indicate that this is the case.
I am not aware of any compile option that would make RC6 specifically faster.
Dear Ilia,
I tried to compile PHP 5.2.0RC6 against the new curl-7.16.0 and got the following errors: ext/curl/interface.c: In function `zm_startup_curl': ext/curl/interface.c:372: error: `CURLOPT_FTPASCII' undeclared (first use in this funct ion) ext/curl/interface.c:372: error: (Each undeclared identifier is reported only once ext/curl/interface.c:372: error: for each function it appears in.) ext/curl/interface.c:412: error: `CURLOPT_PASSWDFUNCTION' undeclared (first use in this function) ext/curl/interface.c: In function `zif_curl_copy_handle': ext/curl/interface.c:1164: error: `CURLOPT_PASSWDDATA' undeclared (first use in this fu nction) make: *** [ext/curl/interface.lo] Error 1 ext/curl/interface.c: In function `zm_startup_curl': ext/curl/interface.c:372: error: `CURLOPT_FTPASCII' undeclared (first use in this funct ion) ext/curl/interface.c:372: error: (Each undeclared identifier is reported only once ext/curl/interface.c:372: error: for each function it appears in.) ext/curl/interface.c:412: error: `CURLOPT_PASSWDFUNCTION' undeclared (first use in this function) ext/curl/interface.c: In function `zif_curl_copy_handle': ext/curl/interface.c:1164: error: `CURLOPT_PASSWDDATA' undeclared (first use in this fu nction) make: *** [ext/curl/interface.lo] Error 1 ./configure --prefix=/usr/local/applications/lamp2/php --disable-static --enable-bcmath --enable-calendar --enable-ftp --enable-mbstring --enable-pdo --enable-shared --enable-shmop --enable-sysvsem=yes --enable-sysvshm=yes --enable-track-vars=yes --enable-url-includes --enable-zip --with-apxs2=/usr/local/applications/lamp2/httpd/bin/apxs --with-bz2 --with-config-file-path=/usr/local/applications/lamp2/php --with-curl=/usr/local/applications/lamp2/curl --with-gd --with-imap=/usr/local/applications/lamp2/imap --with-ldap=/usr/local/applications/lamp2/openldap --with-libxml-dir=/usr/local/applications/lamp2/libxml2 --with-mysql=/usr/local/applications/lamp2/mysql --with-mysqli=/usr/local/applications/lamp2/mysql/bin/mysql_config --with-mysql-sock=/tmp/mysql.sock --with-oci8=/usr/local/applications/lamp2/oracle --with-openssl=/usr/local/applications/lamp2/openssl --with-pdo-mysql=/usr/local/applications/lamp2/mysql --with-pdo-oci=/usr/local/applications/lamp2/oracle --with-pdo-sqlite --with-pear=/usr/local/applications/lamp2/pear --with-tidy=/usr/local/applications/lamp2/tidy --with-xmlrpc --with-xsl=/usr/local/applications/lamp2/libxsl --with-zlib-dir=/usr/lib/ Keep up the good work, Renй
Nothing has changed as far as those constant handling for those values.
More unresolved symbols:
'./configure' '--disable-cgi' '--disable-rpath' '--disable-debug' '--disable-magic-quotes' '--disable-posix' '--with-apxs2=/usr/bin/apxs2' '--with-mysql=/usr' '--with-zlib' '--with-bz2' '--with-dbx' '--with-ctype' '--with-openssl' '--with-pcre-regex' '--with-gettext' '--with-mcrypt' '--with-mhash' '--with-iconv' '--with-gd' '--with-jpeg-dir' '--with-png-dir' '--with-zlib-dir' '--with-xpm-dir' '--with-ttf' '--with-xsl' '--with-tsrm-pthreads' '--with-tidy' '--with-freetype-dir' '--enable-gd-native-ttf' '--enable-calendar' '--enable-mbstring' '--enable-spl' '--enable-ftp' '--enable-bcmath' '--enable-sockets' '--enable-dom' '--enable-xml' '--enable-soap' '--enable-libxml' '--enable-session' '--enable-simplexml' '--enable-memory-limit' '--with-curl=/usr/' '--with-curlwrappers' '--with-pspell' --enable-pdo=shared --with-pdo-mysql --without-pdo-sqlite --without-sqlite richard@hippo:~/tarbs/php-5.1.0RC6$ cat /proc/version Linux version 2.6.8-2-686-smp (horms@tabatha.lab.ultramonkey.org) (gcc version 3.3.5 (Debian 1:3.3.5-13)) #1SMP Tue Aug 16 12:08:30 UTC 2005 ext/pdo_mysql/.libs/pdo_mysql.o(.text+0x2a): In function `zm_startup_pdo_mysql': /home/richard/tarbs/php-5.1.0RC6/ext/pdo_mysql/pdo_mysql.c:78: undefined reference to `php_pdo_declare_long_constant' ext/pdo_mysql/.libs/pdo_mysql.o(.text+0x4c):/home/richard/tarbs/php-5.1.0RC6/ext/pdo_mysql/pdo_mysql.c:79: undefined reference to `php_pdo_declare_long_constant' ext/pdo_mysql/.libs/pdo_mysql.o(.text+0x6e):/home/richard/tarbs/php-5.1.0RC6/ext/pdo_mysql/pdo_mysql.c:80: undefined reference to `php_pdo_declare_long_constant' ext/pdo_mysql/.libs/pdo_mysql.o(.text+0x90):/home/richard/tarbs/php-5.1.0RC6/ext/pdo_mysql/pdo_mysql.c:81: undefined reference to `php_pdo_declare_long_constant' ext/pdo_mysql/.libs/pdo_mysql.o(.text+0xb2):/home/richard/tarbs/php-5.1.0RC6/ext/pdo_mysql/pdo_mysql.c:82: undefined reference to `php_pdo_declare_long_constant' ext/pdo_mysql/.libs/pdo_mysql.o(.text+0xde): In function `zm_shutdown_pdo_mysql': /home/richard/tarbs/php-5.1.0RC6/ext/pdo_mysql/pdo_mysql.c:92: undefined reference to `php_pdo_unregister_driver' ext/pdo_mysql/.libs/pdo_mysql.o(.text+0xc4): In function `zm_startup_pdo_mysql': /home/richard/tarbs/php-5.1.0RC6/ext/pdo_mysql/pdo_mysql.c:84: undefined reference to `php_pdo_register_driver' ext/pdo_mysql/.libs/mysql_driver.o(.text+0x5f4): In function `_pdo_mysql_error': /home/richard/tarbs/php-5.1.0RC6/ext/pdo_mysql/mysql_driver.c:109: undefined reference to `php_pdo_get_exception' ext/pdo_mysql/.libs/mysql_driver.o(.text+0x875): In function `mysql_handle_preparer': /home/richard/tarbs/php-5.1.0RC6/ext/pdo_mysql/mysql_driver.c:178: undefined reference to `pdo_parse_params' ext/pdo_mysql/.libs/mysql_driver.o(.text+0xb08): In function `pdo_mysql_last_insert_id': /home/richard/tarbs/php-5.1.0RC6/ext/pdo_mysql/mysql_driver.c:259: undefined reference to `php_pdo_int64_to_str' ext/pdo_mysql/.libs/mysql_driver.o(.text+0xee2): In function `pdo_mysql_handle_factory': /home/richard/tarbs/php-5.1.0RC6/ext/pdo_mysql/mysql_driver.c:412: undefined reference to `php_pdo_parse_data_source' ext/pdo_mysql/.libs/mysql_statement.o(.text+0x907): In function `pdo_mysql_stmt_param_hook': /home/richard/tarbs/php-5.1.0RC6/ext/pdo_mysql/mysql_statement.c:338: undefined reference to `pdo_raise_impl_error' collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1
My bad: --enable-pdo=shared and --with-pdo-mysql are incompatible. php5.1.6 catches this error at ./configure time.
Managed to get RC6 running but my code fails when it tries to call pdo->setAttribute(PDO::ATTR_EMULATE_PREPARES, true); (worked in 5.1.x, still documented as valid in the manual although that also seems to contain a lot of 5.2.0 stuff now.) Any idea if __toString is supposed to work if called as print("$myObj"); ? It works when called as print($myObj); |
ArchivesCategoriesSyndicate This BlogBlog Administration |
|||||||||||||||||||||||||||||||||||||||||||||||||










Comments