Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

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/
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 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/ 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.


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 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/
    AddModule mod_perl.c
    (In the appropiate spots of course) Then I rebooted and it worked.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2023-04-02 02:37 GMT
Find Nodes?
    Voting Booth?

    No recent polls found