ID: 26555 Updated by: [EMAIL PROTECTED] Reported By: jkaufman at wamnetgov dot com -Status: Assigned +Status: Feedback Bug Type: Informix related Operating System: Mandrake 9.1 PHP Version: 4CVS-2003-12-9 Assigned To: nobbie New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php5.1-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.1-win32-latest.zip Previous Comments: ------------------------------------------------------------------------ [2004-01-12 07:05:02] [EMAIL PROTECTED] Assigned to the ext/informix maintainer, Corne'. ------------------------------------------------------------------------ [2003-12-10 13:18:33] jkaufman at wamnetgov dot com Forgot to mention that the informix sdk is: IBM INFORMIX-Client SDK 2.81.UC1 PRODUCT RELEASE INFORMIX-ESQL/C Version 9.53 DATE: 04 Feb 2003 ------------------------------------------------------------------------ [2003-12-10 12:53:51] jkaufman at wamnetgov dot com I don't *know* that the interpretation of lvarchar in ifx.c is wrong just because I see a void type, but I do know this. I modified my db schema and changed the lvarchar(1000) to char(500) and the query works fine. I would prefer the lvarchar approach (it uses less db space and I 500 characters is not enough for my app), but it does demonstrate that there is something amiss in the way php handles lvarchar. ------------------------------------------------------------------------ [2003-12-09 14:41:20] [EMAIL PROTECTED] What informix sdk do you have installed? (and if your c-client, the imap thing, is linked with ssl, you need to use --with-imap-ssl) ------------------------------------------------------------------------ [2003-12-09 12:40:35] jkaufman at wamnetgov dot com I built using the snapshot. First problem is that '--with-imap' did not include '-lssl', though php-4.3.3 did. I removed that option from my configure statement and rebuilt. The problem is still present. ifx.c shows: #line 1768 "/usr/src/php4-STABLE-200312091430/ext/informix/ifx.ec" ifx_int8_t int8_var; #line 1769 "/usr/src/php4-STABLE-200312091430/ext/informix/ifx.ec" void *lvar_tmp = 0; ------------------------------------------------------------------------ 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/26555 -- Edit this bug report at http://bugs.php.net/?id=26555&edit=1