Freetds + Sybase-ct + mssql problems
| From: | Benji Spencer | Date: | Tue, 20 Aug 2002 15:20:58 +0000 |
| Subject: | Freetds + Sybase-ct + mssql problems | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-113348@lists.php.net to get a copy of this message | ||
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
bspencer@moody.edu
x 2288