Justtechjobs.com Find a programming school near you






Online Campus Both


php-developer-list | 2000111

Re: [PHP-DEV] what needed to be done to make php extention .soloadable via DL( ) From: Hartmut Holzgraefe (hartmut <email protected>)
Date: 11/14/00

Matt McClanahan wrote:
> In the PHP source is a file named REDME.SELF-CONTAINED-EXTENSIONS which
> outlines the process you're looking for. It should work for most
> extensions included with PHP, but there are undoubtedly some exceptions.

be carefull here, self-contained referes to the way the source for the
module is treated,

a self contained extension has it's on configure files and such so that
you can create a .so from it independent of the php source itself,
it only needs some header files it finds by using the php-config tool

this is similar to the apxs mechanism in apache

to build a self-contained extension you have to start with an extension
that is already prepared for beeing compiled as a shared library

every extension created with ext_skel should be ready for this,
but others may lack the needed support in their config.m4 or
c-source files ...

i'd suggest to yust add --disable-static to your configure line
when configuring php and see what will happen during compile ...

--
Hartmut Holzgraefe  hartmut <email protected>  http://www.six.de  +49-711-99091-77

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>