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?


In reply to Apache won't load when mod_perl enabled by bart

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.