logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Third-party Modules View previous topic :: View next topic
Reply to topic   Topic: Need some help with mod_perl.
Author
apache_freak_1991



Joined: 14 Oct 2006
Posts: 9

PostPosted: Sat 14 Oct '06 2:50    Post subject: Need some help with mod_perl. Reply with quote

Hi,

I am trying to install mod_perl. I already have perl 5.8.8 build 819 installed and have followed all of the instructions but now my httpd.exe won't start. I have used the command prompt and entered:

Code:

httpd -k start -d


and the result I got was:

Code:

[Sat Oct 14 01:40:37 2006] [error] <OS 2>The system cannot find the file specified.   : No installed service named "Apache2".


The reason why there is no installed service named Apache2 is because I didn't name it Apache2 I named it Apache2.2.3 so does anyone know a solution? If you do then thankyou so much. Smile
Back to top
sb.net



Joined: 22 Sep 2006
Posts: 120
Location: USA

PostPosted: Sat 14 Oct '06 5:01    Post subject: Reply with quote

Code:
httpd -k start -n Apache2.2.3
Back to top
apache_freak_1991



Joined: 14 Oct 2006
Posts: 9

PostPosted: Sat 14 Oct '06 14:31    Post subject: Reply with quote

It doesn't work. What is an error code 1?

EDIT:

I changed the line in httpd.conf from:
Code:
LoadModule perl_module modules/mod_perl.so


to:

Code:
#LoadModule perl_module modules/mod_perl.so


But of course that causes mod_perl to stop functioning. Please help me. Thankyou. Smile
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7402
Location: EU, Germany, Next to Hamburg

PostPosted: Sat 14 Oct '06 15:26    Post subject: Reply with quote

try
replace G:/perl/bin where your perl is located

LoadFile "G:/perl/bin/perl58.dll"
LoadModule perl_module modules/mod_perl.so
Back to top
apache_freak_1991



Joined: 14 Oct 2006
Posts: 9

PostPosted: Sat 14 Oct '06 17:02    Post subject: Reply with quote

OK so httpd.exe works now but my perl scripts still won't run. It could be because they are not in the cgi-bin directory but is there anyway to configure apache to run perl scripts from anywhere on the server?

EDIT:

Nevermid I figured it out. Thanks everyone. Very Happy
Back to top
alsen



Joined: 03 Mar 2008
Posts: 4

PostPosted: Mon 03 Mar '08 0:13    Post subject: need help from apache_freak_1991 Reply with quote

Hi everyone.

I am new on this forum. I need a help about mod_perl that is not working.

I found that apache_freak_1991 wrote this : ".. OK so httpd.exe works now but my perl scripts still won't run. It could be because they are not in the cgi-bin directory but is there anyway to configure apache to run perl scripts from anywhere on the server?

EDIT:

Nevermid I figured it out. Thanks everyone. ..."

Shall I know how he figured it out? Because I have the same problem.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7402
Location: EU, Germany, Next to Hamburg

PostPosted: Mon 03 Mar '08 10:54    Post subject: Reply with quote

Please post your solution
Back to top
alsen



Joined: 03 Mar 2008
Posts: 4

PostPosted: Mon 03 Mar '08 11:21    Post subject: Reply with quote

James Blond wrote:
Please post your solution


I do still wait for help, no solution yet! Windows2000Adv Serv, Apache2.0.58, MySQL 4.1, PHP5.

alsen
Back to top
alsen



Joined: 03 Mar 2008
Posts: 4

PostPosted: Mon 03 Mar '08 11:44    Post subject: Reply with quote

James Blond wrote:
Please post your solution


Still trying to find a solution thru Package Manager interface Perl 5.8.8, I encountered the following error. What may it be?
Please help me, I can't go further in what I am mounting!

Alsen

Installing 12 packages ...
Downloading Apache-Request-Redirect-0.05 ... done
Downloading HTML-StickyForm-0.07 ... done
Downloading Apache-DBI-1.06 ... done
Downloading Apache-PrettyPerl-2.10 ... done
Downloading DBI-ResultPager-0.9.1 ... done
Downloading Net-IP-1.25 ... done
Downloading DBI-Simple-0.11 ... done
Downloading Compress-Raw-Zlib-2.008 ... done
Downloading DBD-mysql-3.0002 ... not found
Installing 12 packages failed

ERROR: 404 Not Found
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7402
Location: EU, Germany, Next to Hamburg

PostPosted: Mon 03 Mar '08 17:09    Post subject: Reply with quote

Hm ok! That is while installing perl! Not an apache problem! I'm not used to it, but I think you have to change the download server. => ERROR: 404 Not Found
Which perl do you use? Active Perl?
Back to top
alsen



Joined: 03 Mar 2008
Posts: 4

PostPosted: Mon 03 Mar '08 17:50    Post subject: Reply with quote

James Blond wrote:
Hm ok! That is while installing perl! Not an apache problem! I'm not used to it, but I think you have to change the download server. => ERROR: 404 Not Found
Which perl do you use? Active Perl?


Yes, ActivePerl 5.8.8

But what do you mean by the "download server"? The one frow which I downloaded Perl?

Thanks.
Back to top


Reply to topic   Topic: Need some help with mod_perl. View previous topic :: View next topic
Post new topic   Forum Index -> Third-party Modules