[PHP4] ODBC Error with IBM db2 With odbc_connect

From: Date: Thu, 04 May 2000 17:02:48 +0000
Subject: [PHP4] ODBC Error with IBM db2 With odbc_connect
Groups: php.version4 
Request: Send a blank email to php-version4+get-14477@lists.php.net to get a copy of this message
Hello, We success to install IBM db2 V6.1 Cli on a Redhat 6.1 with Apache 1.3.9 and PHP4.0RC1. Before make, we do : export LDFLAG='-L/home/db2inst1/sqllib/lib' Make Ok In phpinfo() we see ODBC with ibm db2. ODBC_LIBRARY db2 ODBC_INCLUDE -I/home/db2inst1/sqllib/include ODBC_FLAGS ODBC_LIBS -ldb2 ===== Now, in a script, when we try to connect with odbc_connect("mabase","user","pwd") The respond is : Warning SQLerror :^?Ô@, SQLstate èio@....in SQLsetConnectOption This is retruned by function (in php_odbc.) : odbc_sqlconnect. I don't understand what is the problem. I have read in the IBM CLI Doc that SQLConnectOption has been deprecated and replace with SQLSetConnectAttr() ??? Thanks a lot for help. Denis.

Attachment: [text/x-vcard] Carte pour LIARD DENIS d-liard.vcf
« previous php.version4 (#14477) next »