Re: what needed to be done to make php extention .soloadable via DL( )

From: Date: Tue, 14 Nov 2000 19:45:39 +0000
Subject: Re: what needed to be done to make php extention .soloadable via DL( )
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-38096@lists.php.net to get a copy of this message
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@six.de http://www.six.de +49-711-99091-77

« previous php.dev (#38096) next »