[freetds] Linux/MSSQL connect
Jeff Jirsa
JJirsa at officite.com
Mon Nov 20 16:26:43 EST 2006
I've got PHP 5.1 and FreeTDS 0.63 working great, and here are the flags
I use.
For FreeTDS, I configure it with:
--disable-odbc --with-tdsver=8.0 --sysconfdir=/etc --prefix=/usr
--enable-threadsafe
For PHP 5.1, I configure it with this (and other flags for gd, soap,
xml, etc.):
--with-sybase --with-tsrm-pthreads
-----Original Message-----
From: freetds-bounces at lists.ibiblio.org
[mailto:freetds-bounces at lists.ibiblio.org] On Behalf Of Clark, Harry
Sent: Monday, November 13, 2006 1:28 PM
To: FreeTDS Development Group
Subject: RE: [freetds] Linux/MSSQL connect
Fixed that, error on the connection info. I can execute a query from the
cmd line on the Linux box. I want to use this in PHP. Do I really need
to rebuild PHP with the --with-mssql option? The discussion I've found
so far says yes. At minimum I need to specify extension=mssql.so in
php.ini and find a current mssql.so; I have one for PHP4, could not find
5, or didn't search far enough. The Apache log lists an error from PHP
start for this now, not surprising. Thanks.
-----Original Message-----
From: freetds-bounces at lists.ibiblio.org on behalf of Clark, Harry
Sent: Mon 11/13/2006 1:23 PM
To: freetds at lists.ibiblio.org
Cc:
Subject: [freetds] Linux/MSSQL connect
I'm trying to reach MSSQL 2000 from Linux (FC5). I have FreeTDS and
unixODBC installed and can connect with tsql. isql gives a TDS log entry
that says
More information about the FreeTDS
mailing list