freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "Miller, Ben" <bmiller AT guruconsult.com>
- To: <freetds AT lists.ibiblio.org>
- Subject: RE: [freetds] php4/freetds on debian woody
- Date: Thu, 19 Dec 2002 16:46:25 -0500
root@guru-lnx2:/usr/share/freetds0# cd /etc/freetds/
root@guru-lnx2:/etc/freetds# ls
freetds.conf interfaces
root@guru-lnx2:/etc/freetds# mv interfaces interfacesNONONO
root@guru-lnx2:/etc/freetds#
Still getting the same error. From what I read, interfaces is the oldschool
file that the sybase client used, freetds moved that information into
freetds.conf but php still uses the intefaces file? Please correct me if i'm
wrong, I'm obviously missing something here (and I have no idea what it is) :)
-Ben
-----Original Message-----
From: Bradley Bell [mailto:bradleyb AT u.washington.edu]
Sent: Thu 12/19/2002 4:40 PM
To: freetds AT lists.ibiblio.org
Cc:
Subject: RE: [freetds] php4/freetds on debian woody
You shouldn't have to use that with sqsh. freetds.conf and the interfaces
file are not the same thing. Do you have an interfaces file in
/etc/freetds? If so you should delete it, and use only freetds.conf.
I've been using php4-sybase on debian for a long time, and it works great.
-brad
> -----Original Message-----
> From: freetds-admin AT lists.ibiblio.org
> [mailto:freetds-admin AT lists.ibiblio.org]On Behalf Of Miller, Ben
> Sent: Thursday, December 19, 2002 1:26 PM
> To: freetds AT lists.ibiblio.org
> Subject: [freetds] php4/freetds on debian woody
>
>
> Hi guys, webpage pointed me here for support so here goes:
>
> got an mssql box i need to access through php4. I'm having a
> hard time finding configuration information on this. I get the
> impression that the debian packages I used for php4 / php4-sybase
> / freetds dont quite mesh.
>
> I setup freetds.conf and am able to connect to the database w/
> sqsh however php4 generates:
>
> Warning: Sybase: Unable to connect in
> /home/www/html/db/inc/test.php on line 5
>
> Warning: Supplied argument is not a valid Sybase-Link resource in
> /home/www/html/db/inc/test.php on line 7
>
> The php package was setup with: --with-sybase-ct=shared,/usr
>
> freetds is in /usr/share/freetds, libs in /usr/lib
>
> I do have to specify -I /etc/freetds/freetds.conf with sqsh, I
> assume I have to get php to see this as well but its not apparent
> how to do this.
_______________________________________________
FreeTDS mailing list
FreeTDS AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds
<<winmail.dat>>
-
[freetds] php4/freetds on debian woody,
Miller, Ben, 12/19/2002
- RE: [freetds] php4/freetds on debian woody, Bradley Bell, 12/19/2002
- <Possible follow-up(s)>
-
RE: [freetds] php4/freetds on debian woody,
Miller, Ben, 12/19/2002
-
Re: [freetds] php4/freetds on debian woody,
Steve Langasek, 12/19/2002
- RE: [freetds] php4/freetds on debian woody, Bradley Bell, 12/19/2002
-
Re: [freetds] php4/freetds on debian woody,
Steve Langasek, 12/19/2002
-
RE: [freetds] php4/freetds on debian woody,
Miller, Ben, 12/19/2002
- RE: [freetds] php4/freetds on debian woody, Bradley Bell, 12/19/2002
Archive powered by MHonArc 2.6.24.