You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by Matt Sergeant <ma...@sergeant.org> on 2001/05/23 01:45:32 UTC

Re: AxKit and PHP

On Tue, 22 May 2001, Doug MacEachern wrote:

> did you remove the END xsub too?

Yes.

> i'd be surprised if this works, since apache will re-load AxKit.so, but
> Perl will still be pointing to the old xsub address, since i don't
> think the .pm will reloaded with this stuff stripped out.
> 
> the problem looks just like the one that 1.25 attempted to solve with this
> Change:
> fix directive handlers bug triggered by LoadModule foo_module
> 
> and the explanation posted to the list:
> From dougm@covalent.net Fri Dec 29 21:12:37 2000 -0800
> Date: Fri, 29 Dec 2000 21:11:15 -0800 (PST)
> From: Doug MacEachern <do...@covalent.net>
> To: modperl@apache.org
> Subject: directive handlers + LoadModule foo_module
> Message-ID: <Pi...@mojo.covalent.net>
> 
> this was reported a few times, with php as the suspect, but it happens
> with any LoadModule config.  problem was that the xs module structure was
> only added to the Apache module list once at startup.  it needs to be
> removed/added each time apache is restarted, patch below does that.

Yeah I traced through the code and found the same issue. Added that
patch. Then the next post I sent to this list occured...

> directive handlers + LoadModule php work fine for me with 1.25.
> if you can come up with a small test case that produces the problem
> (a tiny module with a simple directive handler, no AxKit), i will be happy 
> to revisit the problem.

OK, I'll try to minimise the problem.

-- 
<Matt/>

    /||    ** Founder and CTO  **  **   http://axkit.com/     **
   //||    **  AxKit.com Ltd   **  ** XML Application Serving **
  // ||    ** http://axkit.org **  ** XSLT, XPathScript, XSP  **
 // \\| // ** mod_perl news and resources: http://take23.org  **
     \\//
     //\\
    //  \\


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org