FreeBSD 3.2 + Apache 1.3.9 + PHP 3.0 + FreeTDS 4.7 + MS SQL 6.5 connection problem.
Alexander Cherevko
aliv at is.kiev.ua
Thu Nov 11 09:25:02 EST 1999
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.
More information about the FreeTDS
mailing list