Skip to Content.
Sympa Menu

freetds - Re: [freetds] Correct settings for php.ini?

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Daniel Fazekas <fdsubs AT axelero.hu>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Correct settings for php.ini?
  • Date: Thu, 25 Mar 2004 17:18:14 +0100


On Mar 25, 2004, at 16:58, Robert Davis wrote:

Well still being undable to connect to a SQL 2000 server I will not look
at the PHP.ini file a little closer.
It depends on how you setup PHP with FreeTDS. If you used
"--with-sybase(-ct)=" Then you don't need to do anything with
extensions. If you used --with-mssql then you need the mssql.so (or dll
for windows) extension.

No. Whether you need to load an extension does not depend on which one you built. If you built it as a shared module, then you need to load it (via php.ini or other means), otherwise it's included in your PHP SAPI module and can't be unloaded even if you wanted to.

For example:

a)
--with-sybase_ct=shared,/usr/local

you have to load sybase_ct.so

b)
--with-mssql=shared,/usr/local

you have to load mssql.so

c)
--with-mssql=/usr/local
or
--with-sybase_ct=/usr/local

you don't have to load anything

--
fds





Archive powered by MHonArc 2.6.24.

Top of Page