Skip to Content.
Sympa Menu

freetds - Re: Mac OS X install directions / web pages / other help resources?

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: James Cameron <cameron AT stl.dec.com>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: Re: Mac OS X install directions / web pages / other help resources?
  • Date: Thu, 08 Nov 2001 09:54:31 +1100


Frank Flynn wrote:
> I intend to use PHP on the web pages to connect - what will I have to do
> beyond installing TDS to get PHP to be able to connect through TDS?

PHP must be built with FreeTDS. This is done using PHP's configure
script, giving it either of these two arguments;

--with-sybase-db=shared,/usr
--with-sybase-ct=shared,/usr

This presumes that FreeTDS has been build and installed into /usr. If
you prefer /usr/local, then change both the FreeTDS configure's --prefix
and PHP configure's --with-sybase-?? directory.

The Debian package uses CT. I've used both. I've not validated this on
MAC OS X.

--
James Cameron




Archive powered by MHonArc 2.6.24.

Top of Page