RE: [PHP] Freetds + Sybase-ct + mssql problems
| From: | Scott Houseman | Date: | Tue, 20 Aug 2002 15:43:02 +0000 |
| Subject: | RE: [PHP] Freetds + Sybase-ct + mssql problems | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-113350@lists.php.net to get a copy of this message | ||
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:ben.spencer@moody.edu]
> Sent: 20 August 2002 05:21
> To: php-general@lists.php.net
> 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
> bspencer@moody.edu
> x 2288
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>