Re: PHP vs. FreeTDS

From: Date: Thu, 22 Feb 2001 15:59:07 +0000
Subject: Re: PHP vs. FreeTDS
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-41172@lists.php.net to get a copy of this message
FreeTDS is used to provide Sybase and MSSQL-specific TDS protocol instructions to the databases. ODBC is a different protocol (from my understanding). If you're trying to use ODBC stuff, you need an ODBC driver. I think FreeTDS might have this/allow this, but I don't think it's intended to do that. Scott Fletcher wrote: > I can't user mssql_connect, I'm using odbc_connect! Most of the websites > for my company use odbc_connect. Because we sometime move the website from > unix to windows and back. So, it is more reliable that way. > > Scott > > "Michael Kimsal" <michael@tapinternet.com> wrote in message > news:3A92CA39.8F57A1BC@tapinternet.com... > > > > > > Scott Fletcher wrote: > > > > > Hi! I am installing the FreeTDS so that unix machine can use PHP to > > > connect to MS-SQL Server using odbc_connect. > > > > I assume you mean mssql_connect, not odbc_connect. > > > > > > > However, the direction is > > > pretty tricky and it isn't much of a help in clarification. I have been > > > wonder if I am suppose to use the sybase environment variable and > library > > > path. From what I understand is that I don't need to use those because > it > > > is for SYBASE only. All I can do is to compile FreeTDS with the > > > "./config --with-sybase=../freetds-0.51" and it would take care of that > for > > > PHP use. > > > > > > > You might have to set the sybase variable, but I don't think I did. > > It wasn't too much harder than ./configure ./make ./make install, > > then compiling PHP with --with-sybase=/usr/local/freetds > > > > Did this not work? > > > > > > > > > > Am I wrong? Please help me out! > > > > > > Thanks, > > > Scott > > > > > > -- > > > PHP General Mailing List (http://www.php.net/) > > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > > > For additional commands, e-mail: php-general-help@lists.php.net > > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > > For additional commands, e-mail: php-general-help@lists.php.net > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#41172) next »