perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <bt...@linuxmonth.com>
Subject Re: Embperl: Database Handle Destroyed
Date Thu, 02 Mar 2000 22:31:08 GMT

> Hello
> 
> I've set up EMBPERL with ModPerl and I'm still getting Database Handle
> destroyed messeges in the apache error log.  I thought with modperl that
> the connections was persistant.
> 

It is if you use Apache::DBI or make your $dbh global. There
are plenty of threads on this subject in the archives.
 
Put the following line in your httpd.conf for the Apache::DBI
solution.

PerlModule Apache::DBI

---------------------------------------------------------
Baiju Thakkar
http://www.perlmonth.com	http://www.linuxmonth.com
Just use Perl;			#!/boot/linux


Mime
View raw message