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.
Thank you Adam
Will Try that.
Regards
Greg Cirino
- Original Message -
From: Adam Voigt [EMAIL PROTECTED]
To: Greg Cirino [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, April 01, 2003 8:23 AM
Subject: Re: [PHP-DB] Connect Microsoft SQL database with php on unix
| You need
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 [EMAIL
Hello
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).
Thanks
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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.