freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
Re: [freetds] PHP 4.3, Freetds .60, SSQL Sever 7.0 (sp6) problems
- From: "Frank M. Kromann" <frank AT kromann.info>
- To: freetds AT lists.ibiblio.org
- Subject: Re: [freetds] PHP 4.3, Freetds .60, SSQL Sever 7.0 (sp6) problems
- Date: Wed, 22 Jan 2003 10:58:00 -0800
Hi Michael,
I'm testing the mssql extension on Linux using a Mandrake 9.0 box and I
don't have to run ldconfig in order to get it working.
I'm currently using the snapshot of freetds, but I dont think that makes a
big diference.
I configured freetds
/configure --prefix=/usr/local/freetds
and php using --with-mssql (and a bunch of other modules as well).
restarted apache and it worked.
- Frank
> Hi,
>
> My setup is as follows
>
> red hat 7.3, PHP 4.3, freetds 0.6, sql server 7 with sp6
>
> I configured freetds as
>
> ./configure --prefix=/usr/local/freetds
>
> this worked and I confirmed freetds via tsql. so far so good.
>
> Then I went to work on PHP 4.30 and here is where things get odd.
>
> I first configed PHP with the mssql=usr/local/freetds
> I also modified ld.so.conf and ran ldconfig, and confirmed the freetds
so in the ls.so.cache
>
> when I execute a very simple query against my sql server database
(select top 10 * from users) I would get a seg fault (11) in the apache
log. however in the freetds.log file I could see that the connection was
made, the database was selected, and the correct results were returned.
>
> so then if I manually did the ldconfig and restarted httpd, and then ran
my php page, It would work. correct results properly displayed on my web
page.
>
>
> Then I recompiled PHP with sybase=usr/local/freetds
>
> install went fine, rebooted the machine
>
> go to the web page and all worked without the manual re-run of
ldconfig.
>
>
> So my question is...
>
> Has anyone else had success installing the new mssql options to PHP?
Any suggestions on (what I may have missed in my configuration)
>
> Thanks In Advance.
> Michael
>
>
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds
>
- Re: [freetds] PHP 4.3, Freetds .60, SSQL Sever 7.0 (sp6) problems, Frank M. Kromann, 01/22/2003
Archive powered by MHonArc 2.6.24.