RE: [PHP-DB] php -> MSSQL
| From: | Mark Roedel | Date: | Mon, 14 May 2001 13:50:44 +0000 |
| Subject: | RE: [PHP-DB] php -> MSSQL | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-9298@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Dragan Dinic [mailto:dinic@knez.uis.kg.ac.yu]
> Sent: Monday, May 14, 2001 5:11 AM
> To: php-db@lists.php.net
> Subject: [PHP-DB] php -> MSSQL
>
>
> Is there any possible way to connect PHP (running on apache
> 1.3.12 on Red Hat Linux 7) with Microsoft SQL server (running
> on Windows 2000) ?
Yep.
As someone else has noted, the ODBC functions are one way.
Another way, particularly if you prefer to talk to the database directly
rather than through a translation layer, is to install the FreeTDS
libraries (http://www.freetds.org/) on your Linux machine and then build
PHP with the --with-sybase configuration parameter. This will enable
the mssql_* functions.
---
Mark Roedel (roedelm@letu.edu) || "There cannot be a crisis next week.
Systems Programmer / WebMaster || My schedule is already full."
LeTourneau University || -- Henry Kissinger