freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "Lagos, Ioannis" <J.Lagos AT helex.gr>
- To: <freetds AT lists.ibiblio.org>
- Subject: [freetds] SQLServer - No Connection
- Date: Wed, 20 Aug 2008 12:26:37 +0300
I have installed the unixODBC-2.2.12, freetds-0.82 on a RH 2.6.9-55.EL
x86_64, Apache/2.0.52 (Red Hat), PHP/4.3.9
I use odbc to connect to a SQL Server.
tsql is connecting successfully.
isql -v myDSN is connecting successfully.
A php script executed from shell successfully and I get results.
But, if the same php script is executed from the Browser, I get an error
connection!
(Trying to connect from php with odbc_connect.)
Have any idea for this ?
My Environment is as:
Libraries located in /usr/local/lib
Env var LD_LIBRARY_PATH = /usr/local/lib
FREETDS=/usr/local/etc
>From phpinfo I get the following info:
--with-unixODBC=shared,/usr'
--prefix=/usr
ODBC
ODBC library
unixODBC
ODBC_INCLUDE
-I/usr/include
ODBC_LFLAGS
-L/usr/lib
ODBC_LIBS
-lodbc
I appreciate if anybody can help.
Thanks in advance,
John Lagos
-
[freetds] SQLServer - No Connection,
Lagos, Ioannis, 08/20/2008
-
Re: [freetds] SQLServer - No Connection,
James K. Lowden, 08/21/2008
- Re: [freetds] SQLServer - No Connection, Lagos, Ioannis, 08/21/2008
-
Re: [freetds] SQLServer - No Connection,
James K. Lowden, 08/21/2008
Archive powered by MHonArc 2.6.24.