Hello, Thanks for your help,
I'm using the latest packages for Fedora Core 3 of apache and mod_perl. I'm using Apache::DBI 0.9.4, it is compiled fine but when I try to run it says: Can´t load Apache.pm Maybe the rpm compilation of mod_perl for FC3 forgot something. What do you think ? Thanks again, ___________________________________ Ing. Alejandro Galue. SYNC Consultores C.A. [EMAIL PROTECTED] http://www.sync.com.ve Telf. : +58 (212) 762-85-55 762-30-12 762-86-93 Cel. : +58 (414) 134-47-23 Fax. : +58 (212) 762-66-71 Skype : agalue MSN : [EMAIL PROTECTED] ___________________________________ -----Original Message----- From: Perrin Harkins [mailto:[EMAIL PROTECTED] Sent: Thursday, March 10, 2005 2:18 PM To: Alejandro Galue Cc: 'Tom Schindl'; Arturo Martín; modperl@perl.apache.org Subject: RE: Problem with apache and mysql 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