| Author | 
  | 
apache_freak_1991
 
 
  Joined: 14 Oct 2006 Posts: 9
 
  | 
 Posted: Sat 14 Oct '06 2:50    Post subject: Need some help with mod_perl. | 
     | 
 
  | 
 
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:
 
 
 
 
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.    | 
 
  | 
| Back to top | 
 | 
sb.net
 
  
  Joined: 22 Sep 2006 Posts: 120 Location: USA
  | 
 Posted: Sat 14 Oct '06 5:01    Post subject:  | 
     | 
 
  | 
 
 	  | Code: | 	 		  | httpd -k start -n Apache2.2.3 | 	 
  | 
 
  | 
| Back to top | 
 | 
apache_freak_1991
 
 
  Joined: 14 Oct 2006 Posts: 9
 
  | 
 Posted: Sat 14 Oct '06 14:31    Post subject:  | 
     | 
 
  | 
 
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.    | 
 
  | 
| Back to top | 
 | 
James Blond Moderator
  
  Joined: 19 Jan 2006 Posts: 7443 Location: EU, Germany, Next to Hamburg
  | 
 Posted: Sat 14 Oct '06 15:26    Post subject:  | 
     | 
 
  | 
 
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
 
  | 
 Posted: Sat 14 Oct '06 17:02    Post subject:  | 
     | 
 
  | 
 
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.   | 
 
  | 
| Back to top | 
 | 
alsen
 
 
  Joined: 03 Mar 2008 Posts: 4
 
  | 
 Posted: Mon 03 Mar '08 0:13    Post subject: need help from apache_freak_1991 | 
     | 
 
  | 
 
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: 7443 Location: EU, Germany, Next to Hamburg
  | 
 Posted: Mon 03 Mar '08 10:54    Post subject:  | 
     | 
 
  | 
 
| Please post your solution | 
 
  | 
| Back to top | 
 | 
alsen
 
 
  Joined: 03 Mar 2008 Posts: 4
 
  | 
 Posted: Mon 03 Mar '08 11:21    Post subject:  | 
     | 
 
  | 
 
 	  | 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
 
  | 
 Posted: Mon 03 Mar '08 11:44    Post subject:  | 
     | 
 
  | 
 
 	  | 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: 7443 Location: EU, Germany, Next to Hamburg
  | 
 Posted: Mon 03 Mar '08 17:09    Post subject:  | 
     | 
 
  | 
 
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
 
  | 
 Posted: Mon 03 Mar '08 17:50    Post subject:  | 
     | 
 
  | 
 
 	  | 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 | 
 |