freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "James K. Lowden" <jklowden AT schemamania.org>
- To: lbayuk AT mindspring.com, FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] Using FreeTDS shared libraries
- Date: Wed, 19 Mar 2003 22:49:38 -0500
On Wed, 19 Mar 2003 22:21:18 -0500 (EST), L J Bayuk
<lbayuk AT mindspring.com> wrote:
> James K. Lowden wrote:
> > On Wed, 19 Mar 2003 15:06:02 +0100, Klaus-Michael Köhler wrote:
> >
> > > I got the FreeTDS archive (version 0.61), compiled it and installed
> > > it. Is there any possibility to activate the libraries WITHOUT
> > > recompiling PHP and Apache?
> >
> > I don't know about Apache, but PHP definitely has to be recompiled
> > before it can know what it needs to use FreeTDS.
>
> You can do it by compiling just the PHP sybase_ct extension; no need to
> recompile all of PHP. (Provided your current PHP either does not have
> sybase_ct built in, or has it as a loadable extension.) The process is
> described in the PHP source file README.SELF-CONTAINED-EXTENSIONS.
> You just need the source directory ext/sybase_ct from PHP, which you can
> copy anywhere you want, and a working PHP installation.
Cool. I colored your answer "blue" in my email folder. It means, "find a
way to add this information to the User Guide".
Regards,
--jkl
>
> Here is an example (but this assumes my install paths):
> $ cp -rp .../php-4.3.0/ext/sybase_ct sybase_ct
> $ cd sybase_ct
> $ /opt/php/bin/phpize
> Your directory "sybase_ct" is now a "self contained extension".
> To build it:
> ./configure --with-php-config=/opt/php/bin/php-config \
> --with-sybase-ct=shared,/opt/freetds
> make
> make install
> You have now installed "sybase_ct.so" in your PHP loadable extensions
> directory. Put "extension=sybase_ct.so" in php.ini (assuming you want
> it loaded by default), and then "apachectl graceful" to restart.
-
[freetds] Using FreeTDS shared libraries,
Klaus-Michael Köhler, 03/19/2003
-
Re: [freetds] Using FreeTDS shared libraries,
James K. Lowden, 03/19/2003
-
Re: [freetds] Using FreeTDS shared libraries,
L J Bayuk, 03/19/2003
- Re: [freetds] Using FreeTDS shared libraries, James K. Lowden, 03/19/2003
-
Re: [freetds] Using FreeTDS shared libraries,
L J Bayuk, 03/19/2003
-
Re: [freetds] Using FreeTDS shared libraries,
James K. Lowden, 03/19/2003
Archive powered by MHonArc 2.6.24.