freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
[freetds] PHP 4.3, Freetds .60, SSQL Sever 7.0 (sp6) problems
- From: "Michael McAlpine" <mikem AT vis.oregonian.com>
- To: freetds AT lists.ibiblio.org
- Subject: [freetds] PHP 4.3, Freetds .60, SSQL Sever 7.0 (sp6) problems
- Date: Wed, 22 Jan 2003 10:26:29 -0800
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] PHP 4.3, Freetds .60, SSQL Sever 7.0 (sp6) problems, Michael McAlpine, 01/22/2003
Archive powered by MHonArc 2.6.24.