Re: Apache::DBI

2005-10-11 Thread Martin Moss
Can you make sure its the very first PerlModule command? Usually this happens when a prior PerlModule command (or nested module) is calling "use DBI;" before the Apache::DBI module is loaded... this causes Apache::DBI to be disabled.. It must be called before any use DBI. And it is then universal

Re: Apache::DBI

2005-10-11 Thread Stefan Cars
Hi! Sorry for my extremly bad language. What I mean is that it does not make the connections persistent. /S Stefan Cars wrote: Hi! Despite loading Apache::DBI with PerlModule in httpd.conf it seems not to close the connections anyway, not making them persistent. Why could this happen ? /S

Re: Apache::DBI (OT Kinda) Question

2001-09-04 Thread Aaron Johnson
You can verify correct operation of Apache::DBI by doing the following: 1) Make sure it appears BEFORE the DBI load in your startup.pl (or equivalent) 2) Use Apache::Status and enable perl-status as needed in your httpd.conf load in this order: use Apache::Status(); use Apache::DBI(); use DBI();

Re: Apache::DBI (OT Kinda) Question

2001-09-04 Thread Angus Lees
On Wed, Sep 05, 2001 at 11:31:43AM +0930, David Lloyd wrote: > If I use Apache::DBI under mod_perl and continuosly open and disconnect > a DBI:mysql connection, it should reuse the same connection and not > perform a database lookup all the time. i presume your question is "..., right?" yes it s

Re: Apache::DBI

2001-09-04 Thread Gerald Richter
> > have anyone experiences with running Apache::DBI on WinNT ? > > I cannot connect to a database... it returns undef. > Just say PerlModule Apache::DBI in your httpd.conf and use DBI as usual (as you would do it when Apache::DBI isn't present). This works correctly for me under NT Gerald -

Re: Apache DBI error

2000-08-30 Thread Gerald Richter
> Has anyone ever seen this: > > Starting httpd.defined(@array) is deprecated at > /usr/local/lib/perl5/site_perl/5.6.0/Apache/DBI.pm line 135. > (Maybe you should just omit the defined()?) > > > Know of any way to fix it? > Change the if (defined @ChildConnect) in line 135 of Apach