Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Current events
Recent changes
Random page
Help
Categories
LemonWiki共筆
Search
Search
Appearance
Log in
Personal tools
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Mod Perl
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
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 * 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 * C:\usr\bin>ppm <pre> 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. </pre> add a repository * ppm> rep add http://theoryx5.uwinnipeg.ca/cgi-bin/ppmserver?urn:/PPMServer58 check the mod_perl module * ppm> search mod_perl <pre> 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~ </pre> install the module * ppm> install mod_perl-2.0 : or ppm> install 5 <pre> ... 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! </pre> * Where should mod_perl.so be placed? [C:/Apache2/modules] C:/Program Files/Apache Group/Apache2/modules <pre> 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. </pre> == modify the configuration file of apache server == * modify the file C:\Program Files\Apache Group\Apache2\conf\httpd.conf, add the following lines <pre> LoadFile "C:/usr/bin/perl58.dll" LoadModule perl_module modules/mod_perl.so </pre> * restart Apache web service Reference * [http://blog.othree.net/log/2003/12/19/run-mt-under-mod-perl/ mod_perl 跑 MT : O3noBLOG] * [http://vovo2000.com/phpbb2/viewtopic-1253.html Apache2 + Mod_Perl.so w/ Active-Perl 5.8] * [http://perl.apache.org/docs/2.0/os/win32/install.html mod_perl 2.0 Win32 Installation Instructions] * [http://aspn.activestate.com/ASPN/docs/ActivePerl-5.6/faq/ActivePerl-faq2.html ActivePerl Help - Online Docs : Using PPM]
Summary:
Please note that all contributions to LemonWiki共筆 are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
LemonWiki共筆:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Template used on this page:
Template:Right
(
edit
)