|
Posted by php on 11/02/05 17:54
Yup, I thought that was the problem too but when I added my server to
the conf file, there was no change. When you set up your MSSQL
connection in fedora, did you install anything else other than MSSQL
and PHP-MSSQL? Or did you have to set anything in your php.ini file to
use the new extension?
Robbert
Rick Emery <rick@emery.homelinux.net> wrote on 11/02/2005, 04:40:37 PM:
> Quoting php@swimwebs.com:
>
> >
> > I get no output from mssql_get_last_message(). When I use the pear DB
> > class, and use $db->getMessage(), I get "connect failed", very useful
> > like usual with getMessage(). Even doing a print_r of the object
> > reveals nothing. I'm pretty sure that PHP is not even trying to
> > connect to the database as I have seen no traffic going to the server
> > when connecting via PHP.
>
> Strange...oh, there's one other thing to check. I think I ran into
> something similar on a couple of servers. Turns out that some needed an
> entry for the server in /etc/freetds.conf. I can't remember whether the
> Fedora install needed it, but might be something to check.
>
> > As for the RPMs, they can be found at
> > http://phprpms.sourceforge.net/mssql. This is the site where I had
> > found the rpms to successfully connect via FC1.
>
> Great, thanks!
>
> hth,
> Rick
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
[Back to original message]
|