Skip to Content.
Sympa Menu

freetds - Re: [freetds] Connection Errors...

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Daniel Fazekas <fdsubs AT t-online.hu>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Connection Errors...
  • Date: Sat, 18 Jun 2005 23:25:13 +0200


On Jun 18, 2005, at 21:26, Rick Conner wrote:

[3] => sybase

That tells us that you have the sybase extension loaded instead of the mssql one.
On Unix platforms, there isn't actually a lot of difference between the two and since FreeTDS is likely behind both, you should be able to access mssql databases through the sybase extension or even vice versa.

But since it's not working for you, it might be worth a try to see if switching to the actual mssql extension helps. Guessing from your error messages, the php.ini in question probably looks something like this:

extension=sybase.so
extension=mssql.so
extension=php_mssql.dll

Anything sybase* and anything *.dll should be removed and only the mssql.so line kept.

Of course, this all depends on the assumption that all these extensions were compiled as dynamically loadable shared libraries and not built into the php binaries, which is a big assumption to make as only a few people tend to build the extensions as shared.
Otherwise a full php recompile will be needed.
And naturally an Apache restart after editing the php.ini.

--
fds




Archive powered by MHonArc 2.6.24.

Top of Page