freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
Re: FreeBSD 3.2 + Apache 1.3.9 + PHP 3.0 + FreeTDS 4.7 + MS SQL 6.5 connection problem.
- From: Brian Bruns <camber AT umcc.ais.org>
- To: TDS Development Group <freetds AT franklin.oit.unc.edu>
- Subject: Re: FreeBSD 3.2 + Apache 1.3.9 + PHP 3.0 + FreeTDS 4.7 + MS SQL 6.5 connection problem.
- Date: Thu, 11 Nov 1999 20:20:57 -0500 (EST)
On Thu, 11 Nov 1999, Alexander Cherevko wrote:
> Hello.
>
> > you can try is to compile PHP as a CGI module and run it directly to see
> > if it works, if it does it is definately an environment problem.
>
> I compiled PHP (3.0.12) to CGI. php3.ini in the /usr/local/lib with
>
> sybase.interface_file = "/usr/local/freetds/interfaces"
>
^ ok there is a bug here. search_interface_file() in src/tds/util.c is
called with the parameters out of order. Here is the patch:
[camber@amd133 tds]$ diff util.orig util.c
247c247
< search_interface_file("", interf_file, ip_addr, server, ip_port);
---
> search_interface_file("", interf_file, server, ip_addr, ip_port);
It is also checked in to CVS if you just want to grab the latest version.
Brian
-
FreeBSD 3.2 + Apache 1.3.9 + PHP 3.0 + FreeTDS 4.7 + MS SQL 6.5 connection problem.,
Alexander Cherevko, 11/10/1999
- <Possible follow-up(s)>
- Re: FreeBSD 3.2 + Apache 1.3.9 + PHP 3.0 + FreeTDS 4.7 + MS SQL 6.5 connection problem., Brian Bruns, 11/10/1999
- Re: FreeBSD 3.2 + Apache 1.3.9 + PHP 3.0 + FreeTDS 4.7 + MS SQL 6.5 connection problem., Alexander Cherevko, 11/11/1999
- Re: FreeBSD 3.2 + Apache 1.3.9 + PHP 3.0 + FreeTDS 4.7 + MS SQL 6.5 connection problem., Alexander Cherevko, 11/11/1999
- Re: FreeBSD 3.2 + Apache 1.3.9 + PHP 3.0 + FreeTDS 4.7 + MS SQL 6.5 connection problem., Brian Bruns, 11/11/1999
- Re: FreeBSD 3.2 + Apache 1.3.9 + PHP 3.0 + FreeTDS 4.7 + MS SQL 6.5 connection problem., Alexander Cherevko, 11/11/1999
- Re: FreeBSD 3.2 + Apache 1.3.9 + PHP 3.0 + FreeTDS 4.7 + MS SQL 6.5 connection problem., Brian Bruns, 11/11/1999
- Re: FreeBSD 3.2 + Apache 1.3.9 + PHP 3.0 + FreeTDS 4.7 + MS SQL 6.5 connection problem., Alexander Cherevko, 11/15/1999
Archive powered by MHonArc 2.6.24.