Skip to Content.
Sympa Menu

freetds - Re: via PHP to Microsoft SQL Server V7.0

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: James Cameron <james.cameron AT compaq.com>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: Re: via PHP to Microsoft SQL Server V7.0
  • Date: Tue, 18 Jan 2000 12:01:52 +1100


Okay, Brian, I've found some stuff in INSTALL that explains the
interfaces file usage and the SYBASE environment variable. Doesn't seem
to make any difference though.

# echo $SYBASE
/tmp/freetds
# cat $SYBASE/interfaces
giskard
query tcp ether 10.0.0.2 4000
master tcp ether 10.0.0.2 4000

I've also set php3.ini so that it contains ...

[Sybase]
sybase.interface_file = "/tmp/freetds/interfaces"

But the connect still fails, without explaining why. Using strace I see
that the php3.ini file is read, but there are no attempts to read the
interfaces file. There is also no connect() made, nor does tcpdump show
any activity. I suspect a PHP problem. I will investigate further
using the debugger.

--
James Cameron (cameron AT stl.dec.com)

http://www.linux.org/ http://www.linux.org.au/ http://www.freshmeat.net/




Archive powered by MHonArc 2.6.24.

Top of Page