On Thu, 2005-03-10 at 09:53 -0400, Alejandro Galue wrote: > I'm using Apache::DBI but I'm not sure if it is working fine. First when I > compile and install this module, it shows that everything is fine including > tests (I'm using modperl2), but when I put Apache::DBI on startup.pl to init > my virtualhost with modperl it says : > > "Apache.pm is not loaded." > > I create Apache.pm like this: > > package Apache; > 1; > > And then this error disappear, but I'm not sure if this horrible patch is > the reason of this failure.
Don't do that. It will break things. Are you using Apache::DBI version 0.94? That's the latest release. There is information in the documentation for Apache::DBI about how to debug it. To get it log new connections, set $Apache::DBI::DEBUG = 1 after the module is loaded. You may also want to run a newer version of mod_perl, to get all the bug fixes since 1.99_16. The latest release (RC4) is 5 months newer than that one. - Perrin