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

Venkatraman M Srinivasan mlmsrini at lycos.com
Thu Jul 3 11:48:37 EDT 2003


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


More information about the FreeTDS mailing list