You are here: Re: Re: [PHP] PHP and MSSQL on Linux « PHP « IT news, forums, messages
Re: Re: [PHP] PHP and MSSQL on Linux

Posted by Rick Emery on 11/02/05 17:40

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация