Skip to Content.
Sympa Menu

freetds - Re: [freetds] PHP and MSSQL API

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Robert Davis <rdavis AT unico.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] PHP and MSSQL API
  • Date: Fri, 26 Mar 2004 09:12:59 -0600

On Fri, 2004-03-26 at 09:55 +0800, edwardspl AT ita.org.mo wrote:

> If connect with MS-SQL ( without any sybase ), then would you suggest
> compile php with --with-sybase option ?
> I knew someone is using --with-sybase option connect to MS-SQL... BUT, not
> sure is working fine !
>
> Sorry, I'm a programmer, BUT not quite familiar with php.
>
> Thank for your help ( idea ) !
>
> Edward.

With PHP before 4.3, the --with-mssql was only for Windows. In 4.3 they
added support for Linux via FreeTDS using --with-mssql. Previously the
only way was via --with-sybase and FreeTDS to hook to a MSSQL server. I
would do --with-sybase since it is the one most tested and been around
the longest. Either should work fine. I have used --with-sybase and
FreeTDS hooking to a SQL 2K server for over a year with no problem. If
you want to test both you should be able to compile both as shared
extensions and load the one or the other for testing. You can only have
one loaded at a time.

Robert Davis





Archive powered by MHonArc 2.6.24.

Top of Page