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

If it says "Apache.pm was not loaded at startup.pl line 28", the question arises: Did you load Apache.pm? And if not, why not?
  • Comment on Re: Apache::DBI "cannot find apache.pm" failure - Should I upgrade from mod_perl 1.0 to 2.0? and if so, how?

Replies are listed 'Best First'.
Re^2: 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:01 UTC
    I didn't, because the 'here is your first startup.pl' didn't have it in, it just says to uncomment the connect_on_init line.

    Having done so, (use Apache;) I get a 'not found in @INC' error. am I missing an install? what would the bundle name be on CPAN?
      I'm using Debian Linux, and on my system Apache.pm comes bundled with libapache-mod-perl. Maybe you can also find it in the Apache packages somewhere?
        Hm, I can't find anything.

        Is there an easy answer to "how can I get Apache.pm working on my server?" is there an install? I apologize for my low level of knowledge with this, but I really am up against the wall here, I can't figure out what to fix here.