You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Brice D Ruth <br...@webprojkt.com> on 2001/09/07 00:00:54 UTC
Help w/ install [ActivePerl,W2K Server,Apache 1.3.20]
I'm trying to simply get Apache/mod_perl working in W2K ... I've been
trying to follow the steps outlined in messages I've found from
searching through archives, but it seems I'm a bit stuck. My experience
w/ Apache has always been in Linux or *BSD, so I'm somewhat lost when it
comes to getting this going in W2k.
I have Apache 1.3.20 installed - the httpd.conf is vanilla - I can
access my server by going to http://localhost/ - so all is good there.
I downloaded ActivePerl 629 (?) and it installed fine ... c:\perl\bin is
in my path and seems to work fine. I ran PPM and had it install
mod_perl from theoryx5.uwinnipeg.ca - everything seemed to run fine and
in the end it asked me where to put mod_perl.so - the path I gave was
c:/Program Files/Apache Group/Apache/modules - I later looked here and I
could see mod_perl.
I then added the following line to my httpd.conf:
LoadModule perl_module modules/mod_perl.so
and left everything else as it was. I now get the following when I try
to start Apache:
The Apache service is starting.
Failed to start the Apache service.
Note the errors or messages above, and press the <ESC> key to exit.
(countdown)...
I don't see any error messages that do me any good, config test returns
Syntax OK and the error log shows nothing.
What do I need to do?
Any help would be greatly appreciated!
Brice Ruth
Re: Help w/ install [ActivePerl,W2K Server,Apache 1.3.20]
Posted by will <wi...@spanner.org>.
At 5:00 pm -0500 6/9/01, Brice D Ruth wrote:
>I'm trying to simply get Apache/mod_perl working in W2K ... I've
>been trying to follow the steps outlined in messages I've found from
>searching through archives, but it seems I'm a bit stuck. My
>experience w/ Apache has always been in Linux or *BSD, so I'm
>somewhat lost when it comes to getting this going in W2k.
>
>I have Apache 1.3.20 installed - the httpd.conf is vanilla - I can
>access my server by going to http://localhost/ - so all is good
>there.
you might have more luck with IndigoPerl: it comes as a bundle with
apache and mod_perl and installs everything for you at once.
http://www.indigostar.com/indigoperl.htm
i've never used it, though...
will
Re: Help w/ install [ActivePerl,W2K Server,Apache 1.3.20]
Posted by Brice D Ruth <br...@webprojkt.com>.
All right. I added the line 'AddModule mod_perl.c' before the
'LoadModule' and I got an error about not being able to add a module
that's not in the loaded modules list, so I changed its position in the
file and put it directly after the LoadModule perl_module
modules/mod_perl.so and now I'm back to where I was before (same error
as original message).
-Brice
Issac Goldstand wrote:
>Possible you need an AddModule mod_perl.c line in there somewhere... I'm
>not such an experienced module-user with Apache for Win32...
>
> Issac
>
>PGP Key 0xE0FA561B - Fingerprint:
>7E18 C018 D623 A57B 7F37 D902 8C84 7675 E0FA 561B
>----- Original Message -----
>From: "Brice D Ruth" <br...@webprojkt.com>
>To: <mo...@apache.org>
>Sent: Friday, September 07, 2001 00:00
>Subject: Help w/ install [ActivePerl,W2K Server,Apache 1.3.20]
>
>
>>I'm trying to simply get Apache/mod_perl working in W2K ... I've been
>>trying to follow the steps outlined in messages I've found from
>>searching through archives, but it seems I'm a bit stuck. My experience
>>w/ Apache has always been in Linux or *BSD, so I'm somewhat lost when it
>>comes to getting this going in W2k.
>>
>>I have Apache 1.3.20 installed - the httpd.conf is vanilla - I can
>>access my server by going to http://localhost/ - so all is good there.
>>
>>I downloaded ActivePerl 629 (?) and it installed fine ... c:\perl\bin is
>>in my path and seems to work fine. I ran PPM and had it install
>>mod_perl from theoryx5.uwinnipeg.ca - everything seemed to run fine and
>>in the end it asked me where to put mod_perl.so - the path I gave was
>>c:/Program Files/Apache Group/Apache/modules - I later looked here and I
>>could see mod_perl.
>>
>>I then added the following line to my httpd.conf:
>>
>>LoadModule perl_module modules/mod_perl.so
>>
>>and left everything else as it was. I now get the following when I try
>>to start Apache:
>>
>>The Apache service is starting.
>>Failed to start the Apache service.
>>Note the errors or messages above, and press the <ESC> key to exit.
>>(countdown)...
>>
>>I don't see any error messages that do me any good, config test returns
>>Syntax OK and the error log shows nothing.
>>
>>What do I need to do?
>>
>>Any help would be greatly appreciated!
>>
>>Brice Ruth
>>
>
Re: Help w/ install [ActivePerl,W2K Server,Apache 1.3.20]
Posted by Issac Goldstand <ma...@beamartyr.net>.
Possible you need an AddModule mod_perl.c line in there somewhere... I'm
not such an experienced module-user with Apache for Win32...
Issac
PGP Key 0xE0FA561B - Fingerprint:
7E18 C018 D623 A57B 7F37 D902 8C84 7675 E0FA 561B
----- Original Message -----
From: "Brice D Ruth" <br...@webprojkt.com>
To: <mo...@apache.org>
Sent: Friday, September 07, 2001 00:00
Subject: Help w/ install [ActivePerl,W2K Server,Apache 1.3.20]
> I'm trying to simply get Apache/mod_perl working in W2K ... I've been
> trying to follow the steps outlined in messages I've found from
> searching through archives, but it seems I'm a bit stuck. My experience
> w/ Apache has always been in Linux or *BSD, so I'm somewhat lost when it
> comes to getting this going in W2k.
>
> I have Apache 1.3.20 installed - the httpd.conf is vanilla - I can
> access my server by going to http://localhost/ - so all is good there.
>
> I downloaded ActivePerl 629 (?) and it installed fine ... c:\perl\bin is
> in my path and seems to work fine. I ran PPM and had it install
> mod_perl from theoryx5.uwinnipeg.ca - everything seemed to run fine and
> in the end it asked me where to put mod_perl.so - the path I gave was
> c:/Program Files/Apache Group/Apache/modules - I later looked here and I
> could see mod_perl.
>
> I then added the following line to my httpd.conf:
>
> LoadModule perl_module modules/mod_perl.so
>
> and left everything else as it was. I now get the following when I try
> to start Apache:
>
> The Apache service is starting.
> Failed to start the Apache service.
> Note the errors or messages above, and press the <ESC> key to exit.
> (countdown)...
>
> I don't see any error messages that do me any good, config test returns
> Syntax OK and the error log shows nothing.
>
> What do I need to do?
>
> Any help would be greatly appreciated!
>
> Brice Ruth
>
Re: Help w/ install [ActivePerl,W2K Server,Apache 1.3.20]
Posted by Ron Savage <ro...@savage.net.au>.
[Mailed to list and to individual]
Brice
I think the easiest is to install a pre-compiled Apache+mod_perl+mod_*. Start here:
http://savage.net.au/Perl.html#Configuring-Apache
Cheers
Ron Savage
ron@savage.net.au
http://savage.net.au/index.html
Re: Help w/ install [ActivePerl,W2K Server,Apache 1.3.20]
Posted by Randy Kobes <ra...@theoryx5.uwinnipeg.ca>.
On Thu, 6 Sep 2001, Brice D Ruth wrote:
> I'm trying to simply get Apache/mod_perl working in W2K ... I've been
> trying to follow the steps outlined in messages I've found from
> searching through archives, but it seems I'm a bit stuck. My experience
> w/ Apache has always been in Linux or *BSD, so I'm somewhat lost when it
> comes to getting this going in W2k.
>
> I have Apache 1.3.20 installed - the httpd.conf is vanilla - I can
> access my server by going to http://localhost/ - so all is good there.
>
> I downloaded ActivePerl 629 (?) and it installed fine ... c:\perl\bin is
> in my path and seems to work fine. I ran PPM and had it install
> mod_perl from theoryx5.uwinnipeg.ca - everything seemed to run fine and
> in the end it asked me where to put mod_perl.so - the path I gave was
> c:/Program Files/Apache Group/Apache/modules - I later looked here and I
> could see mod_perl.
>
> I then added the following line to my httpd.conf:
>
> LoadModule perl_module modules/mod_perl.so
>
> and left everything else as it was. I now get the following when I try
> to start Apache:
>
> The Apache service is starting.
> Failed to start the Apache service.
> Note the errors or messages above, and press the <ESC> key to exit.
> (countdown)...
>
> I don't see any error messages that do me any good, config test returns
> Syntax OK and the error log shows nothing.
>
> What do I need to do?
Hi,
Although it appears that you've done this OK, the two most
common causes of this error message is that Perl is not in
your PATH environment variable when starting Apache, and that
you've got a mismatch between mod_perl/Apache versions
(http://theoryx5.uwinnipeg.ca/ppmpackages/mod_perl.ppd corresponds
to apache_1.3.20). Are these two things OK for you?
Another couple of things to check - can you load other
Apache modules? And can you run ordinary cgi Perl cgi scripts
(not under mod_perl)?
Although it may be OK now, some time ago I had problems using
mod_perl when there were spaces in the Apache directory tree names.
If the above don't work, perhaps try reinstalling Apache to
something like C:\Apache (you shouldn't have to reinstall mod_perl -
just move mod_perl.so to the new \Apache\modules directory).
best regards,
randy kobes