Wednesday, June 25, 2008

testing firebird extension and php 5.3

wget http://snaps.php.net/php5.3-latest.tar.bz2
tar -jxvf php5.3-latest.tar.bz2

cd php5.3-200806251430

my config.nice looks like this

#! /bin/sh
#
# Created by configure

'./configure' \
'--disable-all' \
'--with-interbase' \
'--prefix=/opt/php5.3' \
'--disable-cgi' \
"$@"

sh ./config.nice
make ; make test
and then make install

/opt/php5.3/bin/php -m
[PHP Modules]
date
ereg
interbase
pcre
Reflection
SPL
standard

[Zend Modules]

I will work on the php changes and fix the warnings that dont allow tests to be complete in 5.3 (and later in 6.0 )

TEST 1463/4206 [ext/interbase/tests/003.phpt]^MFAIL InterBase: misc sql types (may take a while) [ext/interbase/tests/003.phpt]
this one seems to be an warning only
Warning: Division by zero in /opt/build/php5.3-200806251430/ext/interbase/tests/interbase.inc on line 108
$n = substr(rand() . rand(), 0, rand() % ($len - $prec) + 1);


the other tests that firebird extension fails
TEST 1464/4206 [ext/interbase/tests/004.phpt]^MFAIL InterBase: BLOB test [ext/interbase/tests/004.phpt]
TEST 1466/4206 [ext/interbase/tests/006.phpt]^MFAIL InterBase: binding (may take a while) [ext/interbase/tests/006.phpt]
TEST 1468/4206 [ext/interbase/tests/008.phpt]^MFAIL InterBase: event handling [ext/interbase/tests/008.phpt]

No comments: