can i use --with-unixODBC instead of --with-ibm-db2?

From: Date: Thu, 08 Aug 2002 12:33:04 +0000
Subject: can i use --with-unixODBC instead of --with-ibm-db2?
Groups: php.general 
Request: Send a blank email to php-general+get-111653@lists.php.net to get a copy of this message
can i use --with-unixODBC instead of --with-ibm-db2? I've had a lot of trouble getting php to talk to IBM DB2 (see comp.databases.ibm-db2 for more info [if you want], ref "DB2 / PHP / Redhat -- Tried Many Suggestions") But, I can get unixODBC to work with DB2, no problem (via the isql command, so i've got the .odbc.ini and odbcinst.ini all set) So, if I compile php --with-unixODBC and _not_ --with-ibm-db2 --- will i be able to make requests to the database using the unified ODBC commands in php -- i.e. $connection = odbc_connect('database','user','password'); and $result = odbc_exec($connection, 'SELECT a, fine, brew FROM thefridge'); or do i still need to compile --with-ibm-db2 ?? Thanks :) -Doug Smith

« previous php.general (#111653) next »