If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > DB2 ODBC under UNIX/Linux using PHP

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-27-04, 09:12
hanyheggy hanyheggy is offline
Registered User
 
Join Date: Jan 2004
Location: Egypt
Posts: 61
DB2 ODBC under UNIX/Linux using PHP

hi all,

Normally, i connect to db2 database Server using db2 client on the client machine, while installing DB2 V8.1.4, Apache web server 1.3.20, PHP 4.3.4 script under AIX Machine 5.1.5, i wanted to connect from PHP script to the databse.

the only method menstioned in PHP is to use ODBC to connect to any DB system including DB2.

so, i followed the instruction how to build PHP binaries that support ODBC driver to IBM DB2, finally it works, but it seams slow compared with other Databases

i used the cursor type " SQL_CUR_USE_ODBC " in the connection string in PHP, i got this error:

[IBM][CLI Driver] CLI0150E Driver not capable. SQLSTATE=S1C00, SQL state S1C00 in SQLSetConnectOption in /home/web/db2_ORG.php on line 5
Connection Failed:

can anyone help ??
__________________
hany heggy,
IBM certified Professional, AIX system support
www.melodyhits.tv
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On