httpd-wiki-changes mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Httpd Wiki] Update of "EnablingTheUseOfModPerl" by sjorge
Date Thu, 27 Sep 2007 18:29:57 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Httpd Wiki" for change notification.

The following page has been changed by sjorge:
http://wiki.apache.org/httpd/EnablingTheUseOfModPerl

The comment on the change is:
Tried to clean it up a bit... didn't go to good though

------------------------------------------------------------------------------
  Windows and modperl1 users - sorry.  We'll add you later...''
  
  = Prerequisites =
- Apache 2.0.47 or higher. As of this writing, the latest releases are 2.0.59 and 2.2.3. 
+ Apache 2.0.47 or higher. As of this writing, the latest releases are 2.0.61 and 2.2.6 
  If you are using the Prefork MPM, you'll need Perl 5.6.1 or better.
     If you are using a threaded Perl with the Prefork MPM, you must use ''ithreads''. 5005threads
won't work.
  If you are using a threaded MPM (worker, perchild), you'll need Perl 5.8.0 with ithreads.
@@ -24, +24 @@

      Grab the httpd sources from a mirror: http://httpd.apache.org/download.cgi
  
   1. configure and compile apache2:
+  {{{
-  ''tar -xzvf httpd-2.2.3.tar.gz 
+ tar -xzvf httpd-2.2.3.tar.gz 
-  cd httpd-2.2.3
+ cd httpd-2.2.3
-  ./configure --with-prefix=/usr/local/apache2.2 --enable-mods-shared="ALL" 
+ ./configure --with-prefix=/usr/local/apache2.2 --enable-mods-shared="ALL" 
-  make
+ make
-  sudo make install''
+ sudo make install''
+ }}}
     
   2. configure and compile perl. 
      Caveats: 
        Apache2 MUST be installed already.
        You need to compile mod_perl with the same compiler used to compile perl. use perl
-V to find out which compiler was used.
+ {{{
-  ''tar -xzvf mod_perl-2.0..2.tar.gz
+ tar -xzvf mod_perl-2.0..2.tar.gz
-  cd mod_perl-2.0.2
+ cd mod_perl-2.0.2
-  perl -V:useithreads -V:use5005threads
+ perl -V:useithreads -V:use5005threads
-   ''''useithreads='undef';
+ useithreads='undef';
-   use5005threads='undef';''''
+ use5005threads='undef';
-  perl Makefile.PL MP_USE_DSO=1  MP_APXS=/path/to/apxs''
-  More information can be found with
-  ''perldoc docs/user/install/install.pod''
  
+ perl Makefile.PL MP_USE_DSO=1  MP_APXS=/path/to/apxs
+ }}} 
+ More information can be found with ''perldoc docs/user/install/install.pod''
   
  
  

Mime
View raw message