Re: [PHP4BETA] sybase-ct & php4
| From: | Chad Kitching | Date: | Thu, 26 Aug 1999 18:54:44 +0000 |
| Subject: | Re: [PHP4BETA] sybase-ct & php4 | ||
| References: | 1 2 3 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-3766@lists.php.net to get a copy of this message | ||
There's some problems with the configure script, and a header file that
causes all of the sybase-ct not to be used. The only way currently is to
configure it manually.
It's fairly simple to do this yourself, all you have to do is add two lines
to the file internal_functions.c:
In the includes section, add:
#include "ext/sybase/php3_sybase-ct.h"
And in the declaration of the php3_builtin_modules[] variable, add the
following line somewhere in the list:
phpext_sybct_ptr,
And finally, add a line to the ext/sybase/php3_sybase-ct.h file, too. Right
before the last #endif, add:
#define phpext_sybct_ptr sybct_module_ptr
And that should do it. Someone who is familiar with configure scripts
should add something so this is automagic, although it might be in the
latest CVS, which I don't use or have.
----- Original Message -----
From: Jakub Skopal <jakubs@lantanet.cz>
To: <php4beta@lists.php.net>
Sent: Thursday, August 26, 1999 7:04 AM
Subject: Re: [PHP4BETA] sybase-ct & php4
> Hi,
>
> the resulting httpd HAS php4-abilities... it parses most
> of the scripts, except, it lacks the sybase-ct support.
> phpInfo() returns nothing about sybase. I used
> --with-sybase-ct=/opt/sybase clause, httpd IS dynamically
> linked against all those libct, libcs and other SYBASE-CT
> OpenClient libraries... the weird think is also, that
> libphp4.so has'bout 4MB, resulting httpd only 2MB (both with
> debugging stuff). the linker somehow decides to rip off the
> sybase-ct support from the .a :-((
>
> Jakub
>
> 26.08.1999 v 05:49:39 (-0600), Joey napsal:
> > Did you do httpd -l and make sure you saw mod_php.c, or something like?
> >
> >
> > --Joey Smith
> >
> > On Thu, 26 Aug 1999, Jakub Skopal wrote:
> >
> > > Hi,
> > >
> > > I've problems compiling sybase-ct support into php4-beta2.
> > > after build and installation into apache source tree (make
> > > install) and making apache, the resulting httpd doesn't
> > > contain sybase-ct support anymore. there's no string
> > > "sybase_connect" contained in the resulting httpd, it is in
> > > libphp4.a though. does anybody have any clue how to solve
> > > this problem, please?
> > >
> > > thanks, Jakub Skopal
> > >
> > >
> > > --
> > >
> > > Jakub "RiffRaff" Skopal
> > > mailto:j@kubs.cz
> > >
> > > --
> > > PHP 4 Beta
> > >
> > >
>
> --
>
> Jakub "RiffRaff" Skopal
> mailto:j@kubs.cz
>
> --
> PHP 4 Beta
>
>