Skip to Content.
Sympa Menu

freetds - Re: [freetds] Linux/MSSQL connect

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] Linux/MSSQL connect
  • Date: Mon, 13 Nov 2006 19:33:13 -0500

Daniel Fazekas wrote:
> > At minimum I need to specify extension=mssql.so in php.ini and find
> > a current mssql.so;
>
> You just need to grab the source code of your system's PHP. Then go
> into the subdirectory of the extension you wish to build:
> cd ext/mssql
> phpize && ./configure && make
>
> Finally, as root:
> make install
>
> and there's your mssql.so if everything went correctly.

Daniel, my good man, not to punish a good deed, but is is there any way I
could persuade you to contribute a top-to-bottom description of this
procedure for the UG?

I don't use PHP (as you know) but I sympathize with people who are setting
up webservers who don't necessarily love getting the database stuff
working. There are a lot of subtleties, not least of which is
understanding that the mssql extension doesn't need unixODBC. (I know
that much, but I can believe it's confusing.)

You recently put together quite an extensive custom howto for someone here
who had two (each!) installations of PHP and FreeTDS. Between the two of
us, we helped him discover his own misconfiguration. And now he's got it
working.

If we had thorough and precise documentation for using FreeTDS with PHP, I
think it would save you and me time in the long run, not to speak of the
users.

If you really don't feel you have time, I'll start by cobbling together
your previous mails and send it to you to look over. If you think you
could find the time but don't want to deal with DocBook, send it along in
plain text and I'll run it through text2docbook (i.e., me and nedit, down
by the keyboard).

Either way, you get the credit, of couse.

Best regards,

--jkl




Archive powered by MHonArc 2.6.24.

Top of Page