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:
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 Note: Try the snapshot that is generated about 2 hours since you get this notice email. There was a typo in the ext/odbc/config.m4 which is now fixed. It was most likely the reason for this thing not working as shared extension. Previous Comments: ------------------------------------------------------------------------ [2003-03-05 05:41:44] bruno at cameleons dot net Hi, I've the same problem with unixODBC. I've tried unixODBC shared with php 4.2.3: it works fine. I've compiled unixODBC static with php 4.3.1: it works fine I've compiled IBM DB2 static with php 4.3.1: it works fine. It seems to be a problem with odbc shared. Bruno ------------------------------------------------------------------------ [2003-03-04 11:43:04] [EMAIL PROTECTED] 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. ------------------------------------------------------------------------ [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 ------------------------------------------------------------------------ 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
