freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Peter Harvey <pharvey AT codebydesign.com>
- To: TDS Development Group <freetds AT franklin.metalab.unc.edu>
- Subject: RE: freetds-0.60 + unixODBC + sqlserver2000 + PHP
- Date: Thu, 10 Oct 2002 10:37:09 -0700
Well its seems that no one has the time to correct this for you. I could do it in about an hour but I am busy doing other things. You may want to try implementing the options yourself or find some one who can. Look at the MySQL or PostgreSQL drivers for what to do for these options or hack the return so as not to fail.
The function you are looking for is SQLGetInfo().
Peter
Helio Cavichiolo Jr wrote:
OK, but why it works perfectly as php-cgi (running from the shell)? This error occurs just running as PHP module (everything was compiled the same way for php as cgi and php as apache module).
Is there any trick on running as PHP module?
Em Qui 10 Out 2002 10:39, you wrote:
Hi Helio,
From: Helio Cavichiolo Jr [mailto:hcav AT ig.com.br]odbc.c line 2089. The supported options are:
Sent: October 10, 2002 7:47 AM
I've turned on freeTDS debugging at got the following errors:
odbc:SQLGetInfo: info option 8 not supported
SQL_DRIVER_NAME
SQL_DRIVER_ODBC_VER
SQL_ACTIVE_STATEMENTS
SQL_SCROLL_OPTIONS
SQL_SCROLL_CONCURRENCY
odbc:SQLSetStmtOption: Statement option 6 not implementedodbc.c line 2286. The only option supported is SQL_ROWSET_SIZE.
I don't have unixodbc installed; you'd need to check their .h file to find
out what options 8 and 6 are.
If your main objective is to use PHP, it looks to me like you'd be better
off configuring PHP for use with db-lib or ct-lib. But perhaps some of the
ODBC fans will have better (or at least other) advice for you.
Regards,
-
freetds-0.60 + unixODBC + sqlserver2000 + PHP,
Helio Cavichiolo Jr, 10/08/2002
- <Possible follow-up(s)>
- freetds-0.60 + unixODBC + sqlserver2000 + PHP, Helio Cavichiolo Jr, 10/09/2002
- RE: freetds-0.60 + unixODBC + sqlserver2000 + PHP, Lowden, James K, 10/09/2002
- RE: freetds-0.60 + unixODBC + sqlserver2000 + PHP, Helio Cavichiolo Jr, 10/09/2002
- RE: freetds-0.60 + unixODBC + sqlserver2000 + PHP, Helio Cavichiolo Jr, 10/10/2002
- RE: freetds-0.60 + unixODBC + sqlserver2000 + PHP, Lowden, James K, 10/10/2002
- RE: freetds-0.60 + unixODBC + sqlserver2000 + PHP, Helio Cavichiolo Jr, 10/10/2002
- RE: freetds-0.60 + unixODBC + sqlserver2000 + PHP, Peter Harvey, 10/10/2002
- RE: freetds-0.60 + unixODBC + sqlserver2000 + PHP, Helio Cavichiolo Jr, 10/10/2002
- RE: freetds-0.60 + unixODBC + sqlserver2000 + PHP, Peter Harvey, 10/10/2002
- RE: freetds-0.60 + unixODBC + sqlserver2000 + PHP, Helio Cavichiolo Jr, 10/10/2002
- RE: freetds-0.60 + unixODBC + sqlserver2000 + PHP, Peter Harvey, 10/10/2002
- RE: freetds-0.60 + unixODBC + sqlserver2000 + PHP, ZIGLIO Frediano, 10/11/2002
- RE: freetds-0.60 + unixODBC + sqlserver2000 + PHP, Helio Cavichiolo Jr, 10/12/2002
- RE: freetds-0.60 + unixODBC + sqlserver2000 + PHP, Helio Cavichiolo Jr, 10/13/2002
- RE: freetds-0.60 + unixODBC + sqlserver2000 + PHP, Peter Harvey, 10/13/2002
- RE: freetds-0.60 + unixODBC + sqlserver2000 + PHP, ZIGLIO Frediano, 10/14/2002
- RE: freetds-0.60 + unixODBC + sqlserver2000 + PHP, Helio Cavichiolo Jr, 10/14/2002
Archive powered by MHonArc 2.6.24.