Re: Connect Microsoft SQL database with php on unix

From: Date: Tue, 01 Apr 2003 13:23:40 +0000
Subject: Re: Connect Microsoft SQL database with php on unix
References: 1 2 3  Groups: php.db 
Request: Send a blank email to php-db+get-26789@lists.php.net to get a copy of this message
You need to compile the FreeTDS library (freetds.org), and on your PHP configure line, add "--with-sybase=/usr/local/freetds" replacing the path for where you installed FreeTDS. And yes, it says Sybase, but no, you don't use the sybase functions, you can still use all the mssql_whatever functions. On Mon, 2003-03-31 at 13:40, Greg Cirino wrote: > >Maybe mssql_connect()?? > > > >www.php.net/mssql_connect > > > The documentation indicates using sybase_connect (etc...) unless you > are on a windows machine. > > But that doesn't work either as the sybase.so file seems to be > non-existant (on my machine anyway) > > Regards > Greg Cirino > > > "John W. Holmes" <holmes072000@charter.net> wrote in message > news:002e01c2e9d5$e4ea9580$7c02a8c0@coconut... > > I would like to know the best way to connect to SQL database(which > located > > on Microsoft SQL Server) from PHP(Located on Unix Server). > > Maybe mssql_connect()?? > > www.php.net/mssql_connect > > ---John W. Holmes... > > PHP Architect - A monthly magazine for PHP Professionals. Get your copy > today. http://www.phparch.com/ > > > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- Adam Voigt (adam@cryptocomm.com) The Cryptocomm Group My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc

« previous php.db (#26789) next »