ID:               20715
 Updated by:       [EMAIL PROTECTED]
 Reported By:      bruno at cameleons dot net
-Status:           Open
+Status:           Feedback
 Bug Type:         ODBC related
 Operating System: Linux 2.4.19
 PHP Version:      4.3.1
 New Comment:

The point of ODBC is that it is cross DB compatible.  It uses the same
API that DB2 does, only IBM recommends using unixODBC to interface with
DB2 rather than their own interface (which is still ODBC).

As for speed questions, this is typically irrelevent as you're still
using an ODBC-ODBC bridge which can be tuned slightly depending upon
your preferences.


Previous Comments:
------------------------------------------------------------------------

[2003-03-04 10:40:09] bruno at cameleons dot net

Ok, but is unixODBC faster or slower than DBConnect?
The syntaxe is compatible between UnixODBC and DB2connect?
I have 300 scripts PHP using odbc functions.

------------------------------------------------------------------------

[2003-03-04 10:30:33] [EMAIL PROTECTED]

please try my request

------------------------------------------------------------------------

[2003-03-04 10:24:33] bruno at cameleons dot net

I've tried php4-STABLE-200303041230.tar.gz.
The command env return any CFLAGS and I enter this configure:
./configure --with-ibm-db2=shared,/usr/IBMdb2/V7.1 --disable-all

Bruno

------------------------------------------------------------------------

[2003-03-04 10:19:28] [EMAIL PROTECTED]

Try building unixODBC on your machine, and using that as the interface
to DB2.  It is currently the recommended means to connect to DB2 by
IBM.  

Updating version as well.

------------------------------------------------------------------------

[2003-03-04 10:09:51] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip


And don't sert any CFLAGS or so when you run configure..
(make sure those are not set in your environment either)


------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/20715

-- 
Edit this bug report at http://bugs.php.net/?id=20715&edit=1

Reply via email to