My attempts to install modperl under the default vanilla Leopard Apache 2 have failed and all I can find online are variations on this:
I would like if possible not to rely on MacPorts or Fink, though if they can be made to work with the default Apache 2 install that would probably be ok.
Get the latest mod_perl and set the following var:
Compile/install as usual.
Taken from this post, ‘Building mod_perl2 on Leopard’ which also links to further details on how to get Apache2::Request (libapreq) working as well.
–
(Not that I’ve been able to test it since I’m personally back on Tiger running Apache 1.3!)
(And let’s see if stackoverflow manages to lift this answer to the top since it is the only ‘correct’ answer)