Re: PHP 4.3.0 + MSSQL database authentication problem?
| From: | Frank M. Kromann | Date: | Thu, 13 Feb 2003 03:00:32 +0000 |
| Subject: | Re: PHP 4.3.0 + MSSQL database authentication problem? | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-25600@lists.php.net to get a copy of this message | ||
Hi Alan,
If this is a problem with PHP it's in the Sybase extension. I hvae not
tried working with that since I made it possible to use --with-mssql (and
I'm not the maintainer).
Can you compile the cli version (--disable-cgi
--with-mssql=path/to/freetds ...) and test a small comanndline script
using the mssql_*() functions ? This should work with php 4.3.0, but I
have made a few changes to the code in CVS and I can send you the latest
files if you need them.
This configuration is tested on sevral different Linux configurations and
I use it every day so I know it works :-)
- Frank
> Hi Frank,
>
> --- "Frank M. Kromann" <frank@kromann.info> wrote:
> > This should be ok. --with-tdsver=4.2 sets the
> > default.
>
> I figured as much, since I think the default can be
> overridden in the 'freetds.conf' and/or $TDSVER
> environment variable, no?
> > Have you tried the tsql tool to see if you can
> > connect ?
>
> Yes, and connected was made successfully. I used the
> name of the connection in 'freetds.conf'. I was able
> to confirm successful connection earlier by posting
> some logs to the FreeTDS list.
>
> I am starting to to think it is more and more a PHP
> issue. The only thing I haven't tried yet is
> "downgrading" the PHP version to that which is on the
> current server (4.1.2; an attempted upgrade to v4.2.3
> just before Xmas resulted ina very similar problem)
>
> > If you plan to use stored procedures I would make
>
> Not as far as I know. Right now, it is only used to
> pull information from tables.
>
> Alan
>
>
> ______________________________________________________________________
> Post your free ad now! http://personals.yahoo.ca
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>