Re: Re: Re: [PHP] PHP and MSSQL on Linux
| From: | php at swimwebs dot com | Date: | Wed, 02 Nov 2005 15:54:02 +0000 |
| Subject: | Re: Re: Re: [PHP] PHP and MSSQL on Linux | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-224964@lists.php.net to get a copy of this message | ||
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