Re: Connect Microsoft SQL database with php on unix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
> 002e01c2e9d5$e4ea9580$7c02a8c0@coconut">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


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux