You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Michael Lawrie <ml...@mailandnews.com> on 2002/05/21 19:51:01 UTC
Getting mod_perl to work under Win2k
Hello,
I've spent several days working on this problem, reading various FAQ and
whatnot and finally decided to try this email list, hoping that I might find
an answer here.
I'm running Win2KPro and Apache 1.3.23
I downloaded mod_perl2.ppd, and installed the *.so file in the default modules
directory for my web server.
I edited the httpd.conf file to include the following line:
LoadModule perl_module modules/mod_perl.so
When I attempt to start httpd I get this message:
Syntax Error on line 193 of c:/apache/apache/conf/httpd.conf
Can not load c:/apache/apache/modules/mod_perl.so into server: (126) The
specified module could not be found.
Is there something I've missed?
Thanks!
Michael
Re: Getting mod_perl to work under Win2k
Posted by Peter Rothermel <Pe...@watchguard.com>.
Michael Lawrie wrote:
> Hello,
> I've spent several days working on this problem, reading various FAQ and
> whatnot and finally decided to try this email list, hoping that I might find
> an answer here.
>
> I'm running Win2KPro and Apache 1.3.23
> I downloaded mod_perl2.ppd, and installed the *.so file in the default modules
> directory for my web server.
>
> I edited the httpd.conf file to include the following line:
> LoadModule perl_module modules/mod_perl.so
>
> When I attempt to start httpd I get this message:
> Syntax Error on line 193 of c:/apache/apache/conf/httpd.conf
> Can not load c:/apache/apache/modules/mod_perl.so into server: (126) The
> specified module could not be found.
>
> Is there something I've missed?
Looks like your PATH env variable needs to be modified to include
your Perl executable. Make sure you are getting the correct the
with a perl -V from the command prompt.
-pete
>
>
> Thanks!
> Michael
Re: Getting mod_perl to work under Win2k
Posted by Randy Kobes <ra...@theoryx5.uwinnipeg.ca>.
On Tue, 21 May 2002, Michael Lawrie wrote:
> Hello,
> I've spent several days working on this problem, reading various FAQ and
> whatnot and finally decided to try this email list, hoping that I might find
> an answer here.
>
> I'm running Win2KPro and Apache 1.3.23
> I downloaded mod_perl2.ppd, and installed the *.so file in the default modules
> directory for my web server.
>
> I edited the httpd.conf file to include the following line:
> LoadModule perl_module modules/mod_perl.so
>
> When I attempt to start httpd I get this message:
> Syntax Error on line 193 of c:/apache/apache/conf/httpd.conf
> Can not load c:/apache/apache/modules/mod_perl.so into server: (126) The
> specified module could not be found.
>
> Is there something I've missed?
To use mod_perl-2, you'll need to get Apache2 (which is now
at 2.0.36) - in general you can't mix Apache-1 and Apache-2
modules. See http://theoryx5.uwinnipeg.ca/win32_apache2.html
for a discussion on how to get mod_perl-2 set up and initially
configured on Win32.
best regards,
randy kobes
Re: Getting mod_perl to work under Win2k
Posted by Per Einar Ellefsen <pe...@skynet.be>.
At 19:51 21.05.2002, Michael Lawrie wrote:
>Hello,
>I've spent several days working on this problem, reading various FAQ and
>whatnot and finally decided to try this email list, hoping that I might find
>an answer here.
>
>I'm running Win2KPro and Apache 1.3.23
>I downloaded mod_perl2.ppd, and installed the *.so file in the default modules
>directory for my web server.
mod_perl 2 doesn't work with Apache 1.x.x
Apache 2.x doesn't work with mod_perl 1.xx
You'll need to get the mod_perl.ppd, like:
> ppm install http://theoryx5.uwinnipeg.ca/ppmpackages/mod_perl.ppd
It should run an auto-install script at the end which puts mod_perl.so in
the right location.
--
Per Einar Ellefsen
per.einar@skynet.be