[unixODBC-support] Red Hat/MSSQL/PHP odbc_execute parameter binding problem...

Lorenz, Marcus Marcus.Lorenz at unilever.com
Thu Jan 22 13:17:08 GMT 2009


wow, that was fast... 

Ok, ODBC Version is 2.2.11.

RedHat is 32Bit:

2.6.18-92.1.18.el5xen #1 SMP Wed Nov 5 09:30:07 EST 2008 i686 athlon
i386 GNU/Linux

The Processor can also work with 64Bit software:

grep flags /proc/cpuinfo includes "lm"
So i have to ask the freetds support (right?)...



-----Original Message-----
From: unixodbc-support-bounces at mailman.unixodbc.org
[mailto:unixodbc-support-bounces at mailman.unixodbc.org] On Behalf Of Nick
Sent: Thursday, January 22, 2009 1:49 PM
To: Support for the unixODBC project
Subject: Re: [unixODBC-support] Red Hat/MSSQL/PHP odbc_execute parameter
binding problem...

Lorenz, Marcus wrote:

>Hello everybody,
>i have a problem with the odbc_exec function in PHP and i hope i have
addressed the right component in the execution chain of this function
for my problem. If not please let me know.
>First our environment:
>- Red Hat Enterprise Server 5.2
>- unixODBC (Version ? How can i get that)
odbcinst --version

>- FreeTDS stable version available at the 16.12.2008
>- MsSQL Server 2005 Enterprise 64Bit.
You don't say if the platform is 64 or 32 bit. If its 64 bit I would
suspect a conflict between the php and driver manager view on the length
of SQLULEN the php ODBC support is broken in that area.

If its 32 bit I would suspect the driver, and the place to ask is on the
freetds lists.

unixODBC-support mailing list
unixODBC-support at mailman.unixodbc.org

More information about the unixODBC-support mailing list