Skip to Content.
Sympa Menu

freetds - Re: [freetds] Connecting MSSQL Server from Red Hat linux + PHP

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Venkatraman M Srinivasan" <mlmsrini AT lycos.com>
  • To: "Arnar Birgisson" <ArnarB AT oddi.is>
  • Cc: freetds AT lists.ibiblio.org
  • Subject: Re: [freetds] Connecting MSSQL Server from Red Hat linux + PHP
  • Date: Thu, 03 Jul 2003 10:48:37 -0400

Hi all

At last it's working now.
I 've re-compiled my php4-3.2 and configured the freetds.conf which is inside
/usr/local/etc.
[MyServer70]
host = 192.168.4.45
port = 1433
tds version = 7.0

mssql_connect("192.168.4.25:1433",$dbuser,$pswd)
or
mssql_connect("MyServer70",$dbuser,$pswd)
So both way of connectivity is working ok.
Another point here is compiling php should be --with-mssql=/usr/local. (and
not --with-mssql=/usr/local/freetds).
Arnar already raised this point.Thanks Arnar for all your help and support.
Also i would like to thank all who 've helped me on this.

cheers

svan


____________________________________________________________
Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!
http://login.mail.lycos.com/r/referral?aid=27005




Archive powered by MHonArc 2.6.24.

Top of Page