On Thu, 25 May 2006, Simon Wray wrote:
Hi all... I'm hoping you can help me with a problem I have configuring
mod_perl2.
I'm completely new to Apache & Perl and am attempting to use them on an
office XP SP2 machine so I can load the ASP.Net module and try that out.
I'm mainly a VB, HTML & CSS person, so I'm in foreign territory with all
this server-side stuff! I'm trying to load the Perl module because I
believe it's a requirement for the ASP.Net module.
Perhaps you're thinking of Apache::ASP:
http://www.apache-asp.org/
for which Perl is indeeed required.
I've been following the "Configuring mod_perl 2.0 for Win32"
instructions at http://perl.apache.org/docs/2.0/os/win32/config.html. So
far I have installed Apache2.2 and ActivePerl (latest) along with the
Perl5.8 module.
I have amended my conf file as follows:
LoadFile "C:/Perl/bin/perl58.dll"
LoadModule perl_module modules/mod_perl-2.2.so
PerlRequire "C:/Program Files/Apache Software
Foundation/Apache2.2/conf/extra.pl"
The problem I am getting is this error when I try to restart the server:
[Thu May 25 09:20:56 2006] [error] Can't load Perl file: C:/Program
Files/Apache Software Foundation/Apache2.2/conf/extra.pl for server
WS000665.ad.Xglobal.com:80, exiting...
So the problem seems to be with the PerlRequire line in the conf file -
when I comment this out the server starts with no errors.
Assuming this is an installation via ppm:
http://perl.apache.org/docs/2.0/os/win32/install.html#PPM_Packages
were there any problems installing the perl modules?
It seems strange that the Apache module is called
mod_perl-2.2.so, as the installation script from the ppm
install is supposed to rename this to mod_perl.so.
--
best regards,
Randy Kobes