FreeBSD 3.2 + Apache 1.3.9 + PHP 3.0 + FreeTDS 4.7 + MS SQL 6.5 connection problem.
Brian Bruns
camber at umcc.ais.org
Thu Nov 11 08:07:52 EST 1999
It is very odd that sqsh works and PHP does not....Have you set the SYBASE
environment variable in your httpd.conf (SetEnv directive) or on the
command line before launching apache? Also LD_LIBRARY_PATH may need to be
set to /usr/local/freetds/lib (or wherever you install it). Another thing
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.
Brian
On Thu, 11 Nov 1999, Alexander Cherevko wrote:
> On 11/10/99, ""Brian Bruns" <camber at ais.org>" wrote:
> > Hi,
>
> >I believe it is having a problem the null password, can you set the
> >password to something and give it a try? I'll look into it and see if I
> >can figure out why null passwords aren't working for php.
>
> :) I tried with the login: "test", password: "test". It is not a null
> password problem. I think password problem messaged only by:
>
> "DB-Library: Login incorrect."
>
> But this:
>
> "connect: Can't assign requested address"
>
> means that something wrong with connecting to server.
>
> --
> Regards,
> Aliv.
>
More information about the FreeTDS
mailing list