Skip to Content.
Sympa Menu

freetds - Re: [freetds] Newbie: connecting to MS SQL 2008 R2 from MacOS 10.5 running XAMP

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT freetds.org>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Newbie: connecting to MS SQL 2008 R2 from MacOS 10.5 running XAMP
  • Date: Thu, 23 Sep 2010 21:53:49 -0400

Robert Gonzalez wrote:
> I wrote this article,
> but it has helped me out tremendously in getting PHP <--> SQL Server
> setups rolling quickly. Your paths may be different because of your
> environment, but the concepts should be very similar in nature.

http://www.robert-gonzalez.com/2009/02/18/building-the-php-ms-sql-server-extension-from-source-on-ubuntu-810/#comment-1502

TFA says
(MAKE SURE TO INDENT ALL OF THE CONFIG VALUES FOR THE SERVERNAME)

Why? Works fine here regardless. Logic looks OK:

tdsdump_log(TDS_DBG_INFO1, "Looking for section %s.\n", section);
while (fgets(line, sizeof(line), in)) {
s = line;

/* skip leading whitespace */
while (*s && TDS_ISSPACE(*s))
s++;

--jkl




Archive powered by MHonArc 2.6.24.

Top of Page