S_Shrum has asked for the wisdom of the Perl Monks concerning the following question:
Following a tip on another monks node "Tricks with DBI", I went the route to start using persistent database connections with Apache and DBI.
I installed the prebuilt mod_perl 1.27 and added:
LoadModule perl_module modules/mod_perl.so
...to Apache's 1.3.x httpd.conf file.
I've also added the:
use Apache::DBI;
...to my pm just above my 'use DBI;' call. However, now that I have this in place, any time that I invoked a DBI call, I get the following message in the error log:
Can't locate object method "module" via package "Apache" (perhaps you forgot to load "Apache"?) at lib/Apache/DBI.pm line 199.
Any idea what the problem is? All the documentation that I've read on the subject does not discuss (in depth or detail) the changes that need to be made to the httpd.conf file if doing a manual installation.
TIA
======================
Sean Shrum
http://www.shrum.net
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: mod_perl and Apache::DBI - Installation help
by PodMaster (Abbot) on May 18, 2003 at 10:44 UTC | |
by S_Shrum (Pilgrim) on May 18, 2003 at 21:10 UTC | |
by perrin (Chancellor) on May 19, 2003 at 00:14 UTC | |
by S_Shrum (Pilgrim) on May 19, 2003 at 06:31 UTC | |
by perrin (Chancellor) on May 19, 2003 at 16:43 UTC |