Skip to Content.
Sympa Menu

freetds - Re: [freetds] Connecting to MS SQL server from Linux/PHP

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Darryl Friesen <Darryl.Friesen AT usask.ca>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Connecting to MS SQL server from Linux/PHP
  • Date: Fri, 27 Jun 2003 09:28:06 -0600


> It's a PHP function.
> To use it, compile PHP with --with-
> mssql=$DIR_WHERE_FREETDS_IS_INSTALLED

Yes, but (from PHP's SQL Server docs:
http://ca2.php.net/manual/en/ref.mssql.php) ....

To get these functions to work, you have to compile PHP with
--with-mssql[=DIR], where DIR is the FreeTDS install prefix.
And FreeTDS should be compiled using --enable-msdblib.

This implies you want db-lib. Using "--with-sybase-ct=/path/to/freetds" will
give you ct-lib and enable BOTH the sybase_ and mssql_ functions.


- Darryl

----------------------------------------------------------------------
Darryl Friesen, B.Sc., Programmer/Analyst Darryl.Friesen AT usask.ca
Education & Research Technology Services, http://gollum.usask.ca/
Information Technology Services Division,
University of Saskatchewan
----------------------------------------------------------------------
"Go not to the Elves for counsel, for they will say both no and yes"





Archive powered by MHonArc 2.6.24.

Top of Page