Based on the current answers I'm replying...
I've got mod_perl2 + Apache2 up and running on a test machine at home. What I did was the following:
- Checkout the latest CVS version of mod_perl2 as the latest distribution didn't work for me :-(, so:
cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic co modperl-2.0
- Generate the makefile:
perl Makefile.PL MP_AP_PREFIX=/path/to/apache2 MP_INST_APACHE2=1
- The well known commands: make, make test and make install will create everything. NOTE: if `make test' fails; it doesn't necessarily mean the module doesn't work...!
- Notify Apache2 of this super module by inserting these lines into httpd.conf:
LoadModule perl_module modules/mod_perl.so
PerlModule Apache2
PerlSwitches -w
After a restart of Apache2, you should see in its signature that mod_perl/<version> is loaded/enabled! If so: congrats' on your succesful installation of mod_perl2! :-)
Success!
-- JaWi
"A chicken is an egg's way of producing more eggs."
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|