Hi. I cant tell you off-hand what the problem might be, but this article is very helpful, and might answer your question:
http://www.phpbuilder.com/columns/alberto20000919.php3?print_mode=1 -Scott > -----Original Message----- > From: Benji Spencer [mailto:[EMAIL PROTECTED]] > Sent: 20 August 2002 05:21 > To: [EMAIL PROTECTED] > Subject: [PHP] Freetds + Sybase-ct + mssql problems > > > 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