Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Installing mod_perl on win32 machine.

by DigitalKitty (Parson)
on Mar 20, 2004 at 23:47 UTC ( #338383=perlquestion: print w/ replies, xml ) Need Help??
DigitalKitty has asked for the wisdom of the Perl Monks concerning the following question:

Hi all.

I decided to investigate mod_perl (version 1) in an effort to write my first handler. After installing mod_perl (using ppm), I added the following three lines (in order) to my httpd.conf file:

LoadFile "C:/Perl/bin/perl58.dll"
LoadModule perl_module modules/mod_perl.so
AddModule mod_perl.c (later removed since the 'find' utility could not locate the necessary file).

After editing the autoexec.bat file to reflect the location of the mod_perl.so file and rebooting the machine, I attempted to start apache. The following error immediately appeared:
Syntax error on line 197 of c:/program files/apache group/apache/conf/ +httpd.conf Cannot load c:/program files/apache group/apache/modules/mod_perl.so i +nto server : (1157) One of the library files needed to run this application canno +t be found

If anyone could alleviate my dilemma, I would be most appreciative.

Thanks,
-Katie.

Comment on Installing mod_perl on win32 machine.
Download Code
Replies are listed 'Best First'.
Re: Installing mod_perl on win32 machine.
by PodMaster (Abbot) on Mar 21, 2004 at 01:32 UTC
    Does the error log say which files?

    It's simple, your perl58.dll and mod_perl.so depend on some other dll which is not in your path (could be {but not likely} mod_perl was compiled with a higher version apache or something).

    I suggest simply downloading the apache/perl bundle from apache.

    MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
    I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
    ** The third rule of perl club is a statement of fact: pod is sexy.

Re: Installing mod_perl on win32 machine.
by BUU (Prior) on Mar 21, 2004 at 07:26 UTC
    Why are you doing the load file perl58.dll?

    When I did a mod_perl install on win32 (mod_perl 1, apache 1) I simply downloaded the compiled .so file, stuck it in the modules directory, then added two lines to my conf file:
    LoadModule perl_module modules/mod_perl.so
    AddModule mod_perl.c
    (In the appropiate spots of course) Then I rebooted and it worked.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://338383]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (17)
As of 2015-07-28 13:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (254 votes), past polls