Installing mod_perl
 
Lincoln Stein and Doug MacEachern

Stately Scripting with mod_perl
The Perl Journal, Spring 1998
 

The mod_perl distribution is available from a CPAN site near you. Look in modules/by-module/Apache/ or visit the mod_perl home page at http://perl.apache.org/ and http://apache.perl.org/. The current version is 1.08. In addition to mod_perl, you'll need Perl 5.004 or higher, and Apache 1.2.0 or higher. Just like any other Perl module, you can build mod_perl and Apache from source code with these three commands:

 

perl Makefile.PL  

make test 

make install

To run mod_perl on the Windows NT version of Apache, you'll need Apache 1.3b3 or higher. A binary release of mod_perl for Win32 is planned soon after Apache 1.3 final is released.

mod_perl has been running strong on a great many Unix systems serving the busiest Web sites, including the Denver Broncos site. (We can only speculate whether mod_perl contributed to their Superbowl win.) It works with NT, but has been tested less extensively.

Like most Perl utilities, mod_perl is free. It is distributed under the same terms as the Apache server license.