in reply to Re^4: Apache::DBI "cannot find apache.pm" failure - Should I upgrade from mod_perl 1.0 to 2.0? and if so, how?
in thread Apache::DBI "cannot find apache.pm" failure - Should I upgrade from mod_perl 1.0 to 2.0? and if so, how?

Apache.pm gets installed when you install mod_perl.

  • Comment on Re^5: Apache::DBI "cannot find apache.pm" failure - Should I upgrade from mod_perl 1.0 to 2.0? and if so, how?
  • Download Code

Replies are listed 'Best First'.
Re^6: Apache::DBI "cannot find apache.pm" failure - Should I upgrade from mod_perl 1.0 to 2.0? and if so, how?
by MashMashy (Sexton) on Feb 17, 2009 at 15:16 UTC
    So what does this error mean, then? That mod_perl was installed incorrectly? (thanks, Corion, for your help in the CB today as well)

      I would assume that it either means that mod_perl is not installed, or that it is not available to you, or that we both have misconceptions about how things are with mod_perl in general.

      I recommend, again, that you consult with whoever is administrating your machine. That person should be able to tell you how and where to find the things you need to enable mod_perl for your script, or should be able to tell you that mod_perl is unavailable to you. There is little I can do from here to navigate you through whatever tech support your machine administrator provides you.

        I've done that, and they say that mod_perl is installed. I have directories in httpd.conf marked as such:
        SetHandler perl-script Options +ExecCGI PerlHandler ModPerl::Registry
        and those directories compile and run .pl files.
        Doesn't that mean that modperl is working?

        (also, CPAN says 'mod_perl is up to date'. that'd check for it, right?