Re: extension modules
| From: | Torsten Curdt | Date: | Tue, 02 Jul 2002 19:25:23 +0000 |
| Subject: | Re: extension modules | ||
| References: | 1 2 3 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-85746@lists.php.net to get a copy of this message | ||
On Tuesday 02 July 2002 21:21, derick@php.net wrote:
> On Tue, 2 Jul 2002, Torsten Curdt wrote:
> > Two simple questions:
> >
> > 1) Does the "core" (aka libphp4.so) need to know about all possible
> > extension modules at compilation time (--with-FOO=shared) in order to
> > load a module? Or is it possible to just load any module that is compiled
> > against the same php version?
>
> The latter, libphp4.so doesn't need to know about shared modules.
>
> > 2) When will extension modules be loaded when using mod_php within
> > apache? I assume for each apache child?
>
> If you specified them in php.ini, they will be loaded for every apache
> child.
Thanks! That was quick :-)
Hm... but now I am back puzzled why I cannot load my self compiled extension
module. I always get:
PHP Warning: Invalid library (maybe not a PHP library) '..'
I thought I get this because it needs to be "registered" at compile time.
But since this is not the case I am bit lost :-/
--
Torsten