laziness, impatience, and hubris | |
PerlMonks |
Apache won't load when mod_perl enabledby bart (Canon) |
on May 07, 2008 at 08:16 UTC ( [id://685161]=perlquestion: print w/replies, xml ) | Need Help?? |
bart has asked for the wisdom of the Perl Monks concerning the following question:
I'm trying to run Apache 2 on my home PC (XP Pro). It used to work... but I've upgraded Perl since I last ran it (though it's the same major version: 5.8.x). Now, it simply refuses to start. Initially there were some complaints regarding mod_perl. (There's a few msgboxes complaining about not being able to load SSLeay32.DLL, despite it being in the PATH, and some error messages in the CMD window, too, but I forgot the details there.)
I uninstalled and reinstalled mod_perl (with PPM, so it's 2.0.3), and the complaint went away. It appears to start normally... However, when I check the running processes, Apache is not among them. So now, I simply commented out the LoadModule statement for mod_perl.so in httpd.conf, and put every PerlModule and other perl related statements in <IfModule mod_perl.c> conditionals. And now, Apache loads and runs normally... Why? What is wrong with mod_perl? How do you diagnose such a case? I get no error messages in the console at all. Basic mod_perl question: what happens if mod_perl loads succesfully as a program, but it can't find, or otherwise fails to load, a module that's been specified with PerlModule?
Back to
Seekers of Perl Wisdom
|
|