Cannot load mod_perl.so
Hi, I hope this isn't too much of a newbie question... I am trying to upgrade from Apache 2.0.55 using mod_perl V1.0 to Apache 2.2.2 using mod_perl V2.0. This installation is on a Windows XP Pro SP2 machine. I get this error: httpd.exe: Syntax error on line 31 of D:/Apache2.2/conf/httpd.conf: Cannot load D:/Apache2.2/modules/mod_perl.so into server: The specified module could not be found. The module is in the directory. Am I doing something wrong or is the module not compatible with Apache 2.2.2? Thank You, Tracy
Re: Cannot load mod_perl.so
Tracy E Schreiber wrote: Hi, I hope this isn't too much of a newbie question... I am trying to upgrade from Apache 2.0.55 using mod_perl V1.0 to Apache 2.2.2 using mod_perl V2.0. This installation is on a Windows XP Pro SP2 machine. I get this error: You mean V2.0 -- no 1.x version works with 2.x and vice verusa. httpd.exe: Syntax error on line 31 of D:/Apache2.2/conf/httpd.conf: Cannot load D:/Apache2.2/modules/mod_perl.so into server: The specified module could not be found. Permisions ? The module is in the directory. Am I doing something wrong or is the module not compatible with Apache 2.2.2? LoadModule perl_module libexec/apache22/mod_perl.so changing the paths appropriately of course. Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708 Consultant / http://p6m7g8.net/Resume/resume.shtml Senior Software Engineer - TicketMaster - http://ticketmaster.com 1024D/A79997FA F357 0FDD 2301 6296 690F 6A47 D55A 7172 A799 97F "It takes a minute to have a crush on someone, an hour to like someone, and a day to love someone, but it takes a lifetime to forget someone..."
Re: Cannot load mod_perl.so
"Philip M. Gollucci" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > Tracy E Schreiber wrote:>> Hi,>> >> I hope this isn't too much of a newbie question...>> >> I am trying to upgrade from Apache 2.0.55 using mod_perl V1.0 to Apache >> 2.2.2 using mod_perl V2.0. This installation is on a Windows XP Pro SP2 >> machine. I get this error:> You mean V2.0 -- no 1.x version works with 2.x and vice verusa.> Right Philip, my mistake... > >> httpd.exe: Syntax error on line 31 of D:/Apache2.2/conf/httpd.conf: Cannot >> load>> D:/Apache2.2/modules/mod_perl.so into server: The specified module could not >> be>> found.> Permisions ?> I checked those and they are fine... > >> The module is in the directory. Am I doing something wrong or is the module >> not compatible with Apache 2.2.2?> LoadModule perl_module libexec/apache22/mod_perl.so> > changing the paths appropriately of course. My config has this: LoadModule perl_module modules/mod_perl.so This the same syntax as all my other LoadModule entries. > > > Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708> Consultant / http://p6m7g8.net/Resume/resume.shtml> Senior Software Engineer - TicketMaster - http://ticketmaster.com> 1024D/A79997FA F357 0FDD 2301 6296 690F 6A47 D55A 7172 A799 97F> > "It takes a minute to have a crush on someone, an hour to like someone,> and a day to love someone, but it takes a lifetime to forget someone...">
Re: Cannot load mod_perl.so
Hi, I don't think that's a question of path, as you are telling us that you checked that, and that the file was there. Actually, I think this is a compilation problem, between mod_perl and perl itself (Apache has nothing to do with that right now). I'm running under Windows as well, and I made extensive tests, to find out which version of mod_perl.so is working with which version of perl58.dll. (hoping that you didn't forget to load this latter one in your httpd.conf, before mod_perl.so !) I suppose that, as a Win32 user, you're using the ActivePerl distribution? If this is the case, then, I suggest that you use and install the latest version of Perl (v5.8.8) with the latest version of mod_perl (including among others mod_perl.so). You can use the ppm utility to check for your versions and/or update accordingly. Lionel. - Original Message - From: "Philip M. Gollucci" <[EMAIL PROTECTED]> To: "Tracy E Schreiber" <[EMAIL PROTECTED]> Cc: Sent: Tuesday, May 16, 2006 12:01 AM Subject: Re: Cannot load mod_perl.so Tracy E Schreiber wrote: Hi, I hope this isn't too much of a newbie question... I am trying to upgrade from Apache 2.0.55 using mod_perl V1.0 to Apache 2.2.2 using mod_perl V2.0. This installation is on a Windows XP Pro SP2 machine. I get this error: You mean V2.0 -- no 1.x version works with 2.x and vice verusa. httpd.exe: Syntax error on line 31 of D:/Apache2.2/conf/httpd.conf: Cannot load D:/Apache2.2/modules/mod_perl.so into server: The specified module could not be found. Permisions ? The module is in the directory. Am I doing something wrong or is the module not compatible with Apache 2.2.2? LoadModule perl_module libexec/apache22/mod_perl.so changing the paths appropriately of course. Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708 Consultant / http://p6m7g8.net/Resume/resume.shtml Senior Software Engineer - TicketMaster - http://ticketmaster.com 1024D/A79997FA F357 0FDD 2301 6296 690F 6A47 D55A 7172 A799 97F "It takes a minute to have a crush on someone, an hour to like someone, and a day to love someone, but it takes a lifetime to forget someone..."
Re: Cannot load mod_perl.so
"Tracy E Schreiber" <[EMAIL PROTECTED]> wrote in message news:... Hi Lionel, Thank you for your response I have these lines in httpd.conf: LoadFile "D:/Program Files/Perl/bin/perl58.dll"LoadModule perl_module modules/mod_perl.so I have ActivePerl 5.8.8. The mod_perl.so I have is the the most recent binary available from the mod_perl site. Tracy "Lionel MARTIN" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > Hi,> > I don't think that's a question of path, as you are telling us that you > checked that, and that the file was there.> Actually, I think this is a compilation problem, between mod_perl and perl > itself (Apache has nothing to do with that right now).> > I'm running under Windows as well, and I made extensive tests, to find out > which version of mod_perl.so is working with which version of perl58.dll.> (hoping that you didn't forget to load this latter one in your httpd.conf, > before mod_perl.so !) > > I suppose that, as a Win32 user, you're using the ActivePerl distribution?> If this is the case, then, I suggest that you use and install the latest > version of Perl (v5.8.8) with the latest version of mod_perl (including > among others mod_perl.so). You can use the ppm utility to check for your > versions and/or update accordingly.> > Lionel.> > - Original Message - > From: "Philip M. Gollucci" <[EMAIL PROTECTED]>> To: "Tracy E Schreiber" <[EMAIL PROTECTED]>> Cc:> Sent: Tuesday, May 16, 2006 12:01 AM> Subject: Re: Cannot load mod_perl.so> > >> Tracy E Schreiber wrote:>>> Hi,>> I hope this isn't too much of a newbie question...>> I am trying to upgrade from Apache 2.0.55 using mod_perl V1.0 to Apache >>> 2.2.2 using mod_perl V2.0. This installation is on a Windows XP Pro SP2 >>> machine. I get this error:>> You mean V2.0 -- no 1.x version works with 2.x and vice verusa.>>> httpd.exe: Syntax error on line 31 of D:/Apache2.2/conf/httpd.conf: >>> Cannot load>>> D:/Apache2.2/modules/mod_perl.so into server: The specified module could >>> not be>>> found.>> Permisions ?>>> The module is in the directory. Am I doing something wrong or is the >>> module not compatible with Apache 2.2.2?>> LoadModule perl_module libexec/apache22/mod_perl.so changing the paths appropriately of course. >> Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708>> Consultant / http://p6m7g8.net/Resume/resume.shtml>> Senior Software Engineer - TicketMaster - http://ticketmaster.com>> 1024D/A79997FA F357 0FDD 2301 6296 690F 6A47 D55A 7172 A799 97F "It takes a minute to have a crush on someone, an hour to like someone,>> and a day to love someone, but it takes a lifetime to forget someone...">> >
Re: Cannot load mod_perl.so
On Mon, 15 May 2006, Tracy E Schreiber wrote: Hi, I hope this isn't too much of a newbie question... I am trying to upgrade from Apache 2.0.55 using mod_perl V1.0 to Apache 2.2.2 using mod_perl V2.0. This installation is on a Windows XP Pro SP2 machine. I get this error: httpd.exe: Syntax error on line 31 of D:/Apache2.2/conf/httpd.conf: Cannot load D:/Apache2.2/modules/mod_perl.so into server: The specified module could not be found. The module is in the directory. Am I doing something wrong or is the module not compatible with Apache 2.2.2? Assuming you got the mod_perl package through our ppm repository at http://theoryx5.uwinnipeg.ca/ppms/, you're right that it's a compatibility issue; the mod_perl ppm package was compiled with Apache/2.0, and such modules aren't compatible with Apache/2.2. I've put up a mod_perl-2.2 ppm package in this repository that was compiled against Apache/2.2 - try installing that to see if that helps. -- best regards, Randy Kobes
Re: Cannot load mod_perl.so
Hi Tracy, You're telling me that mod_perl is the binary you downloaded from the mod_perl site... Could you be more precise? How can you confirm that it has been compiled with the same compiler as the ActivePerl binary? That's likely causing the problem you are describing. I think that the best is really to install the modperl binary from the ActiveState repository. You can easily do that following these steps: -go to a command prompt and type ppm => this launches the ppm tool -type "rep add winnipeg2 http://theoryx5.uwinnipeg.ca/cgi-bin/ppmserver?urn:/PPMServer58"; (without the quotes) -type "install mod_perl-2.2" and follow instructions from there. This will give you a fresh mod_perl.so file, and you'll then load it in your httpd.conf. I hope this will be working. Lionel. "Tracy E Schreiber" <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED] "Tracy E Schreiber" <[EMAIL PROTECTED]> wrote in message news:... Hi Lionel, Thank you for your response I have these lines in httpd.conf: LoadFile "D:/Program Files/Perl/bin/perl58.dll" LoadModule perl_module modules/mod_perl.so I have ActivePerl 5.8.8. The mod_perl.so I have is the the most recent binary available from the mod_perl site. Tracy "Lionel MARTIN" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > I don't think that's a question of path, as you are telling us that you > checked that, and that the file was there. > Actually, I think this is a compilation problem, between mod_perl and perl > itself (Apache has nothing to do with that right now). > > I'm running under Windows as well, and I made extensive tests, to find out > which version of mod_perl.so is working with which version of perl58.dll. > (hoping that you didn't forget to load this latter one in your httpd.conf, > before mod_perl.so !) > > I suppose that, as a Win32 user, you're using the ActivePerl distribution? > If this is the case, then, I suggest that you use and install the latest > version of Perl (v5.8.8) with the latest version of mod_perl (including > among others mod_perl.so). You can use the ppm utility to check for your > versions and/or update accordingly. > > Lionel. > > - Original Message - > From: "Philip M. Gollucci" <[EMAIL PROTECTED]> > To: "Tracy E Schreiber" <[EMAIL PROTECTED]> > Cc: > Sent: Tuesday, May 16, 2006 12:01 AM > Subject: Re: Cannot load mod_perl.so > > >> Tracy E Schreiber wrote: >>> Hi, >>> >>> I hope this isn't too much of a newbie question... >>> >>> I am trying to upgrade from Apache 2.0.55 using mod_perl V1.0 to Apache >>> 2.2.2 using mod_perl V2.0. This installation is on a Windows XP Pro SP2 >>> machine. I get this error: >> You mean V2.0 -- no 1.x version works with 2.x and vice verusa. >> >> >>> httpd.exe: Syntax error on line 31 of D:/Apache2.2/conf/httpd.conf: >>> Cannot load >>> D:/Apache2.2/modules/mod_perl.so into server: The specified module could >>> not be >>> found. >> Permisions ? >> >> >>> The module is in the directory. Am I doing something wrong or is the >>> module not compatible with Apache 2.2.2? >> LoadModule perl_module libexec/apache22/mod_perl.so >> >> changing the paths appropriately of course. >> >> >> Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708 >> Consultant / http://p6m7g8.net/Resume/resume.shtml >> Senior Software Engineer - TicketMaster - http://ticketmaster.com >> 1024D/A79997FA F357 0FDD 2301 6296 690F 6A47 D55A 7172 A799 97F >> >> "It takes a minute to have a crush on someone, an hour to like someone, >> and a day to love someone, but it takes a lifetime to forget someone..." >> >