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 21:06:23 +0200


On Jun 18, 2005, at 20:09, Rick Conner wrote:

Ok, I'm not sure why I didn't see this before, but the apache error log
contains the following...
[18-Jun-2005 14:00:33] PHP Warning: Function registration failed -
duplicate name - mssql_connect in Unknown on line 0

That sounds like they were trying to load the mssql extension several times over, or to load both the mssql extension and any of the sybase extensions on Unix, where sybase and sybase_ct also register the mssql_ functions.

Try doing a
print_r(get_loaded_extensions());

to see which extension ended up getting loaded first.
A phpinfo() output would also show information on what extensions were loaded.

[18-Jun-2005 14:00:33] PHP Warning: Unknown(): Unable to load dynamic
library './php_mssql.dll' - ./php_mssql.dll: cannot open shared object file:
No such file or directory in Unknown on line 0

It appears that in addition to asking php to load the mssql extension several times over, they even try to load it using the Windows name of the extension for good measure. Which thankfully fails.
(On Windows, the mssql extension doesn't use FreeTDS anyway.)

That php.ini file must be pretty messed up.

--
fds




Archive powered by MHonArc 2.6.24.

Top of Page