freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "Myers Carpenter" <myers AT fil.org>
- To: gerry AT ship-to-order.com
- Cc: freetds AT franklin.oit.unc.edu
- Subject: Re: FreeTDS with PHP connect problems
- Date: Wed, 21 Feb 2001 14:42:18 -0500 (EST)
>I'm using FreeTDS with PHP4 trying to connect to SQL Server 7. The
>libraries are working fine as I've written a lot of C code using them.
>I've compiled freetds into PHP according to the instructions. However,
>with PHP, every call to mssql_connect fails. It's as if it can't see my
>interfaces file (my only guess anyway), but I do have:
>
>sybase.interface_file = "/usr/local/freetds/interfaces"
>
>in my php.ini file. Might anyone be able to offer me further guidance?
Have you tried?:
<?php
putenv("SYBASE=/usr/local/freetds");
?>
This may not work with safe mode on in php.
The other idea is to set the Enviroment var in Apache's config.
myers
-
FreeTDS with PHP connect problems,
Gerry, 02/20/2001
- <Possible follow-up(s)>
- Re: FreeTDS with PHP connect problems, Myers Carpenter, 02/21/2001
- Re: FreeTDS with PHP connect problems, Gerry, 02/22/2001
- Re: FreeTDS with PHP connect problems, James Cameron, 02/22/2001
Archive powered by MHonArc 2.6.24.