You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by sandhya pawar <sa...@gmail.com> on 2009/04/07 11:41:31 UTC

mod_perl configuration

operating System: Vista
ActivePerl5.10
Apache 2.2.11

mod_perl2.004

Mod_perl has been installed successfully for Perl5.10.

C:\>ppm install http://cpan.uwinnipeg.ca/PPMPackages/10xx/mod_perl.ppd
Downloading mod_perl-2.000004...done
Unpacking mod_perl-2.000004...done
Generating HTML for mod_perl-2.000004...done
Updating files in site area...done
Downloading mod_perl-2.000004 install script...done
Running mod_perl-2.000004 install script...
The Apache2 module mod_perl.so is needed to complete the installation,
and should be placed in your Apache2 modules directory. I will
now fetch and install this for you.

Fetching http://cpan.uwinnipeg.ca/PPMPackages/10xx/x86/mod_perl.so ...
done!
Where should mod_perl.so be placed? [D:/Apache2.2/modules] C:\Program
Files\Apac
he Software Foundation\Apache2.2\modules\
mod_perl.so has been successfully installed to
C:/PROGRA~1/APACHE~1/Apache2.2/mo
dules.
To enable mod_perl, put in the directives
   LoadFile "C:/Path/to/Perl/bin/perl510.dll"
   LoadModule perl_module modules/mod_perl.so
in httpd.conf. For more information, visit
   http://perl.apache.org/
and especially see
   http://perl.apache.org/docs/2.0/rename.html

done


But it gives the error when I adds the following line in httpd.conf?

LoadModule perl_module modules/mod_perl.so
Error:
The request operation has failed.
Is there need to add the above line in httpd.conf?

Re: mod_perl configuration

Posted by "William A. Rowe, Jr." <wr...@rowe-clan.net>.
sandhya pawar wrote:
> mod_perl.so has been successfully installed to
> C:/PROGRA~1/APACHE~1/Apache2.2/modules.
> To enable mod_perl, put in the directives
>    LoadFile "C:/Path/to/Perl/bin/perl510.dll"
>    LoadModule perl_module modules/mod_perl.so
> in httpd.conf. For more information, visit
>    http://perl.apache.org/
> and especially see
>    http://perl.apache.org/docs/2.0/rename.html
> 
> done

Including LoadFile prior to LoadModule?

> But it gives the error when I adds the following line in httpd.conf?
> 
> LoadModule perl_module modules/mod_perl.so
> 
> Error:
> The request operation has failed.

What does httpd -t say?  What does your error log say?  What does your
windows application event log say about httpd?