Re: Newbie: connecting to MS SQL 2008 R2 from MacOS 10.5 running XAMP
Robert Gonzalez <[email protected]>
| Newsgroups | gmane.comp.db.tds.freetds |
|---|---|
| Message-ID | <[email protected]> |
This is a write up that I link to often when it comes to connecting to MS SQL Server with PHP. In the spirit of full disclosure, 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/ On Fri, Sep 17, 2010 at 1:25 AM, Frediano Ziglio <[email protected]> wrote: > 2010/9/16 Deven Hariyani <[email protected]> > > > Hello folks, > > > > I've spent the last two days familiarizing myself with the documentation > > and > > steps for installing freetds. The good news is that the documentation on > > the > > website has been helpful and I was able to download the source, build the > > executables, and test the connection using tsql. Currently, my > installation > > is located in the default directory */usr/local/freetds* and my conf file > > with sql server information is located in */usr/local/freetds/etc*, but > now > > I am confused how am I supposed to tell XAMP, which is located in > > /Applications/XAMP to use freetds? > > > > My XAMP installation has a freetds.conf file located in > > /Applications/XAMP/xampfiles/etc > > > > One more thing... when I did some google searches I found some threads > that > > discussed a mssql.so module which I am supposed to put into my php.ini > > file. > > My php.ini file is located in /Applications/XAMP/xampfiles/etc, but I > > believe the mssql.so is for something else not related to freetds, am I > > correct? If so, what are the major differences between mssql.so and > > freetds? > > > > Thanks for all of your wonderful help! > > > > mssql.so is a PHP module which links PHP and FreeTDS together ! > > freddy77 > _______________________________________________ > FreeTDS mailing list > [email protected] > http://lists.ibiblio.org/mailman/listinfo/freetds > -- Robert Gonzalez http://www.robert-gonzalez.com http://twitter.com/RobertGonzalez http://www.linkedin.com/in/robertanthonygonzalez