Apache Software Foundation
|Initial release||March 25, 1996|
2.0.12 / 30 January 2022
Apache License 2.0
mod_perl is an optional module for the
Apache HTTP server. It embeds a Perl interpreter into the Apache server. In addition to allowing Apache modules to be written in the Perl programming language, it allows the Apache web server to be dynamically configured by Perl programs. However, its most common use is so that dynamic content produced by Perl scriptscan be served in response to incoming requests, without the significant overhead of re-launching the Perl interpreter for each request.
Slash, which runs the web site Slashdot, is written using mod_perl. Early versions of PHP were implemented in Perl using mod_perl.
mod_perl can emulate a Common Gateway Interface (CGI) environment, so that existing Perl CGI scripts can benefit from the performance boost without having to be re-written.
Unlike CGI (and most other web application environments), mod_perl provides complete access to the Apache
threads, alter or extend the Apache configuration file parser, and add Perl code to the configuration file itself, among other things.
- Apache Software Foundation. 15 February 2014. Retrieved 8 November 2022.
- ^ "Download". mod_perl website. Apache Software Foundation. Retrieved 27 September 2022.
- ^ "Slash installation". slashcode.com. Archived from the original on 4 May 2015.
- ^ "Paying Homage to Perl (PHP)". theperlreview.com. February 2003. Archived from the original on 25 June 2013.
- Official website
- Why mod_perl?
- The magic of mod_perl
- Writing Apache Modules with Perl and C
- The mod_perl Developer's Cookbook
- mod_perl2 User's Guide
- An easy step-by-step installation guide for mod_perl2 on Unix/Linux and Windows/ReactOS
- How to disabled "mod_perl"