Mod Perl: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
|||
| Line 1: | Line 1: | ||
install the mod_perl module by ActivePerl | |||
== install the ActivePerl == | |||
{{Right| hedding = | text = * http://favico.collection.googlepages.com/activeperl.png [http://www.activestate.com/Products/activeperl/ ActivePerl]/5.8.7.813 | {{Right| hedding = | text = * http://favico.collection.googlepages.com/activeperl.png [http://www.activestate.com/Products/activeperl/ ActivePerl]/5.8.7.813 | ||
* http://favico.collection.googlepages.com/httpd.apache.org.favicon.png [http://httpd.apache.org/ Apache]/2.0.54 (Win32) }} | * http://favico.collection.googlepages.com/httpd.apache.org.favicon.png [http://httpd.apache.org/ Apache]/2.0.54 (Win32) }} | ||
* install ActivePerl at C:\usr\ | |||
== install the mod_perl module by ActivePerl == | |||
Go to the folder where perl.exe locate | Go to the folder where perl.exe locate | ||
* C:\usr\bin>ppm | * C:\usr\bin>ppm | ||
Revision as of 01:41, 14 November 2007
install the mod_perl module by ActivePerl
install the ActivePerl
|
- install ActivePerl at C:\usr\
install the mod_perl module by ActivePerl
Go to the folder where perl.exe locate
- C:\usr\bin>ppm
PPM - Programmer's Package Manager version 3.2. Copyright (c) 2001 ActiveState Corp. All Rights Reserved. ActiveState is a division of Sophos. Entering interactive shell. Using Term::ReadLine::Perl as readline library. Type 'help' to get started.
add a repository
check the mod_perl module
- ppm> search mod_perl
Searching in Active Repositories 1. Apache-mod_perl_gui~ [1.31] mod_perl Guide 2. Apache-mod_perl_gui~ [1.31] Apache-mod_perl_guide 3. mod_perl [2.0.3] Embed a Perl interpreter in the Apache/2.2~ 4. mod_perl-1 [1.29_01~ Embed a Perl interpreter in the Apache/1.3~ 5. mod_perl-2.0 [2.0.3] Embed a Perl interpreter in the Apache/2.0~ 6. mod_perl-eapi-1 [1.29_01~ Embed a Perl interpreter in the Apache/1.3~
install the module
- ppm> install mod_perl-2.0
- or ppm> install 5
... The Apache module mod_perl.so is needed to complete the installation, and should be placed in your Apache2 modules directory. I will now fetch and install this for you. Fetching http://theoryx5.uwinnipeg.ca/ppms/x86/mod_perl-2.0.so ... done!
- Where should mod_perl.so be placed? [C:/Apache2/modules] C:/Program Files/Apache Group/Apache2/modules
mod_perl.so has been successfully installed to C:/PROGRA~1/APACHE~1/Apache2/modules Successfully installed mod_perl-2.0 version 2.0.3 in ActivePerl 5.8.7.813.
modify the configuration file of apache server
- modify the file C:\Program Files\Apache Group\Apache2\conf\httpd.conf, add the following lines
LoadFile "C:/usr/bin/perl58.dll" LoadModule perl_module modules/mod_perl.so
- restart Apache web service
Reference