Re: PHP connecting to Microsoft SQL 7 / 2000
| From: | Jason Sheets | Date: | Tue, 13 May 2003 01:04:04 +0000 |
| Subject: | Re: PHP connecting to Microsoft SQL 7 / 2000 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-147383@lists.php.net to get a copy of this message | ||
You can use the freetds library to connect to MS SQL server.
Take a look at http://www.php.net/sybase
I installed FreeTDS into /usr/local/freetds and then configured PHP --with-sybase=/usr/local/freetds, this will activate the sybase and mssql_ functions. When I compiled --with-mssql the mssql_connect function did not return a valid connection ID even though everything was correct.
The user contributed notes and the documentation at www.freetds.org should get you going.
Jason
Aris Santillan wrote:
hi guys! what do i need to install in linux to be able for php to connect to MS SQL server 7 / 2000? thanks