Practical mod_perl / HTML Book /



previous page: 24.5. Configuring mod_perl 2.0
  
page up: HTML Version of the book
  
next page: 24.5.2. Accessing the mod_perl 2.0 Modules

24.5.1. Enabling mod_perl


To enable mod_perl as a DSO, add this to httpd.conf:

LoadModule perl_module modules/mod_perl.so

This setting specifies the location of the mod_perl module relative to the ServerRootsetting, so you should put it somewhere after ServerRoot is specified.

Win32 users need to make sure that the path to the Perl binary (e.g., C:\Perl\bin) is in the PATH environment variable. You could also add the directive:

LoadFile "/Path/to/your/Perl/bin/perl5x.dll"

to httpd.conf to load your Perl DLL, before loading mod_perl.so.

 

Continue to:

  • prev: 24.5. Configuring mod_perl 2.0
  • Table of Contents
  • next: 24.5.2. Accessing the mod_perl 2.0 Modules







TOP
previous page: 24.5. Configuring mod_perl 2.0
  
page up: HTML Version of the book
  
next page: 24.5.2. Accessing the mod_perl 2.0 Modules


Menu

  • HTML Book
  • PDF Book
  • Download Code
  • Table of Contents
  • Errata
  • mod_perl2 User's Guide
  • Sitemap

Search


Add to Google




Creative Commons License


Written by
Eric Cholet (Logilune) and
Stas Bekman (StasoSphere & Free Books).


[ Privacy Policy | Terms of Use | About Us | Search ]

© 2007 StasoSphere.com