Problem with db2 pecl

I executed the following steps:
download ibm_db2-1.9.3.tgz for use db2 by php (I have just installed DB2 Express C)
tar xzvf ibm_db2-1.9.3.tgz
$phpize
$./configure --with-IBM_DB2=/opt/ibm/db2/V9.7
$make
$make test

doing “make test” will have the following errors:

FAILED TEST SUMMARY

IBM-DB2: Call a stored procedure in a different binding pattern
[tests/test_148_CallSPDiffBindPattern_01.phpt]
IBM-DB2: check for connect deallocator functioning to rollback and disconnect if
there is any active transaction [tests/test_connect_deallocator.phpt]

How can i fix?

Well, that is an IBM or DB2 question, not really a PHP question…

So, you downloaded version 1.9.3 of DB2.
You UN-TAR it…

Attempt to “Make” it… LOL, sorry there is a joke in that!

Are you using the FULL IBM product or the “Express” version?
Does other items work as they should?

I am not familiar with this issue, but, I found this link which might help. Also, this link is on the IBM-DB2 support site which might be a better place for you to look first. But, if you can’t figure it out, someone here might be able to help.

http://www.ibm.com/developerworks/forums/thread.jspa?threadID=346170

Sponsor our Newsletter | Privacy Policy | Terms of Service