BSD Ports

www/mod_perl2 2.0.13,3 DragonFly

Embeds a Perl interpreter in the Apache server

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
APACHE20
Categories
perl5, www
Package size
863.1 KiB, 3001.3 KiB installed

Description

mod_perl brings together the full power of the Perl programming language and the Apache HTTP server. You can use Perl to manage Apache, respond to requests for web pages and much more.

mod_perl gives you a persistent Perl interpreter embedded in your web server. This lets you avoid the overhead of starting an external interpreter and avoids the penalty of Perl start-up time, giving you super-fast dynamic content.

As you'd expect from the Perl community, there are hundreds of modules written for mod_perl, everything from persistent database connections, to templating sytems, to complete XML content delivery systems. Web sites like Slashdot and Wired Magazine use mod_perl.

In the other systems

SystemPortVersion
DragonFlywww/mod_perl22.0.13,3
FreeBSDwww/mod_perl22.0.13,3
MidnightBSDwww/mod_perl22.0.13,3
HardenedBSDwww/mod_perl22.0.13,3
GhostBSDwww/mod_perl22.0.13,3

Install

Binary package:

pkg install ap24-mod_perl2

From DPorts:

cd /usr/dports/www/mod_perl2 && make install clean

Dependencies

Run dependencies 3

Configuration

No options to configure.

Service scripts
none

Message after installing

Simple config:

  LoadModule perl_module libexec/apache24/mod_perl.so
  #PerlModule Apache::compat
  # your config comes here

For a more detailed version (including more options) refer to:

  docs/user/intro/start_fast.pod

or online:

  http://perl.apache.org/docs/2.0/user/intro/start_fast.html

The module can be enabled in
 etc/apache24/modules.d/260_mod_perl.conf