Skip to Content.
Sympa Menu

freetds - Re: FreeBSD 3.2 + Apache 1.3.9 + PHP 3.0 + FreeTDS 4.7 + MS SQL 6.5 connection problem.

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Alexander Cherevko" <aliv AT is.kiev.ua>
  • To: freetds
  • Subject: Re: FreeBSD 3.2 + Apache 1.3.9 + PHP 3.0 + FreeTDS 4.7 + MS SQL 6.5 connection problem.
  • Date: Thu, 11 Nov 1999 9:25:2


Hello.

> you can try is to compile PHP as a CGI module and run it directly to see
> if it works, if it does it is definately an environment problem.

I compiled PHP (3.0.12) to CGI. php3.ini in the /usr/local/lib with

sybase.interface_file = "/usr/local/freetds/interfaces"

Interfaces with my server name. And I got from "php test.php3":

connect: Can't assign requested address
DB-Library: Login incorrect.
Content-type: text/html

where test.php3 is:

<?php

$cnn = mssql_connect("ac", "test", "test");
?>


sqsh works well :)

Mmmm.... What it can be? May be somebody can give me php (for FreeBSD 3.2)
working with freetds? Please....

--
Aliv.




Archive powered by MHonArc 2.6.24.

Top of Page