You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Doug MacEachern <do...@pobox.com> on 2000/02/17 01:04:33 UTC

Re: Compiling mod_perl as a DSO? (fwd)

On Mon, 31 Jan 2000, Bill Bradford wrote:

> On Sun, Jan 30, 2000 at 10:37:24PM -0800, Michael Robinton wrote:
> > I read on the list at one time that the DSO verson has a memory leak. 
> > Don't know if this is still true or not. The static version apparently 
> > did not have that problem. If someone knows the answer to this I'd like 
> > to know myself as the DSO version is considerably easier to put together 
> > with other modules.
> 
> Exactly - right now, there's no easy way to compile a static 
> apache + mod_perl + php3.  Heck, I cant even get apache + mod_perl
> to work (I need to do --enable-module=so during apache configuration,
> but the modperl setup/build re-configures apache and leaves it out).
> 
> I'd be happy with being able to do apache + static mod_perl + DSO'ed
> PHP3, if anybody can point out how to do apache + static mod_perl +
> "--enable-module=so".

you can use ADD_MODULE or APACI_ARGS to enable mod_so

% cat ~/.makepl_args.mod_perl
EVERYTHING=1
APACHE_PREFIX=/home/dougm/httpd
USE_APACI=1
PERL_DEBUG=1
ADD_MODULE=so,proxy,info,status,unique_id
DO_HTTPD=1