Re: FreeTDS, FreeBSD, PHP4.0.1pl2 - MSSQL: don't work
| From: | Alexandr A Listopad | Date: | Wed, 09 Aug 2000 15:32:25 +0000 |
| Subject: | Re: FreeTDS, FreeBSD, PHP4.0.1pl2 - MSSQL: don't work | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-10942@lists.php.net to get a copy of this message | ||
On Wed, Aug 09, 2000 at 11:29:29AM -0400, Darrell Brogdon wrote:
> The last time I tried it FreeTDS didn't work with PHP4. The bug may have been fixed in
> pl2 though.
ok.
thanks for the answer!!!
I have
Server: Apache/1.3.12 (Unix) PHP/4.0.1pl2 rus/PL29.7
but FreeTDS seems don't work...
what about my interfaces-file?
I don't know its sintaks, please correct me if it's wrong
>
>
> Alexandr A Listopad wrote:
>
> > hi.
> >
> > I have subj, but there no packets flow thru network (I see via tcpdump)
> >
> > this is my example:
> >
$hostname = "nvs";
^^^ - I forgot it
> > $db = mssql_connect($hostname,$username,$password) or die("Error: $php_errormsg
> > ");
> >
> > but there no $php_errormsg results, only ``Error: '' in the output... :-(
> > and no packet's to $hostname...
> >
> > php.ini:
> > ---
> > track_errors = On ; Store the last error/warning message in $php_errormsg
> > (boolean)
> > ---
> >
> > this is my interfaces file (there are mention about it in php.ini):
> >
> > $ cat /usr/local/etc/freetds/interfaces
> > nvs query tcp ether 192.168.2.30 1433
> > master tcp ether 192.168.2.30 1433
> >
> > user12 query tcp ether 192.168.2.29 1433
> > master tcp ether 192.168.2.29 1433
> > $
--
Laa