Re: Newbie: connecting to MS SQL 2008 R2 from MacOS 10.5 running XAMP
"James K. Lowden" <[email protected]>
| Newsgroups | gmane.comp.db.tds.freetds |
|---|---|
| Message-ID | <[email protected]> |
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