Skip to Content.
Sympa Menu

freetds - Mysterious segfaults PHP+unixODBC+freetds

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Bj�rn Lantz" <bjorn.lantz AT easyt.com>
  • To: freetds AT franklin.oit.unc.edu
  • Subject: Mysterious segfaults PHP+unixODBC+freetds
  • Date: Tue, 4 Jun 2002 06:05:39 -0400


Hi,

I use php4.2.1 + unixODBC 2.2.1 + freetds 0.53. I use the php scripts to
connect to ms sql server 7 hosted on nt4 machines.

When I connect to the local (on the LAN) sql server everything seems fine,
but when i connect to a remote server over the Internet i get segfaults in
the httpd log and very strange odbc results. I hit my refresh-button in
the broser, and the php-script that generates the output based on a query
works 1/2 of the times. And - I assure you - it is not a php-programming
error.

I don't know where the error might be, but I suspect that the response
time when I communicate over out 512kbps line might have to do with it. I
read a posting about the timeout settings in the freetds.conf file. Could
that be the problem?

Is php+unixODBC+freetds a good configuration. Is it better to use iODBC?

Thanks for any help.
/Björn




Archive powered by MHonArc 2.6.24.

Top of Page