Google for mod_perl book and read it. I'm sure it has the correct steps to get perl and @INC setup correctly.
After you've loaded the perl module itself you want to change @INC to include where Apache2 is. If you want I think you can put that logic in an <IfModule mod_perl.c> stanza
On Jul 31, 2006, at 11:54 PM, philge philip wrote: Dear colleague I am a bioinformatics programmer from India.I need a guidance for configuring mod_perl2.0 in my server. I have Apache.2.0.5.2 and Perl 5.8.5 installed in Fedora 3 operating system. I downloaded mod_perl2.0 version and installed it with the following commands: Perl MakeFfile.PL MP_AP_PREFIX=/apxs path Make Make install Next I added the lines: LoadModule perl_module modules/mod_perl.so PerlModule Apache2 to httpd.conf when I tried restarting the server we got an error like cant locate perl module Apache2.pm module in @INC Though I corrected this error once and when I tried to load Apache2::Request module in the script I got an error like cant locate perl module Apache2::Request.pm in @INC. I tried installing the libapreq2-2.07 module to include Apache2::Request module but I am unable to load it. Please guide me how to load the Apache2.pm module and load Apache2::request module.I have a doubt whether I have to upgrade our Perl version since we got an error while trying with modperl2 rpm version and whether Fedora3 will support higher versions of perl?Kindly guide me please.Its urgent. Yours Sincerely Philge Philip
Do you Yahoo!? Get on board. You're invited to try the new Yahoo! Mail Beta.
|