Your path to the interface file must be wrong, in
my php.ini I have it set to "/usr/local/freetds/conf/freetds.conf"
Are you sure the path is right?

Adam Voigt
[EMAIL PROTECTED]

On Tue, 2002-08-20 at 11:20, Benji Spencer wrote:
> I finally got PHP 4.0.6 compiled with sybase-ct=/usr/local/freetds for use 
> with mssql. However, it seems like php doesn't know where to find the 
> interfaces file. Is there a configuration option which allows me to tell 
> PHP where to find the interfaces file and/or where is it looking for the 
> interfaces file?
> 
> my PHP script
> 
> <?
> $ms_conn=mssql_connect("interface_name",'username','password');
> ?>
> 
> and the results
> 
> Warning: Sybase: Unable to connect in 
> /usr/local/apache/localhost/htdocs/go.php on line 2
> 
> putting sybase.interface_file="/usr/local/freetds/interfaces" in php.ini 
> also didn't seem to make a difference. anyone have ideas?
> 
> benji
> 
> ---
> Ben Spencer
> Web Support
> [EMAIL PROTECTED]
> x 2288
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to