On Wed, 9 Mar 2005, Tom Pfeifer wrote:

> I have installed Apache-2.0.53, ActivePerl-5.8.6.811, Apache-DBI 0.94.
>
> Anyone been successful at actually creating persistent
> database connections with the above setup, or something
> similar with Apache2, ActivePerl and Apache-DBI.  I find
> the Apache::DBI module to have a "require Apache" at the
> top.  Since this computer has never had Apache 1.x or
> mod_perl1, there is no Apache.pm available.  This tells me
> it has not been upgraded to Apache2.

That's correct - from comments in Apache::DBI (version
0.94), the logic to handle mod_perl-2 hasn't been
implemented yet (on any platform).

This thread:
  http://marc.theaimsgroup.com/?t=110426159200004&r=1&w=2
contains some previous discussion on this problem. There's
an attempt in there at a patch to get it working on mp2,
but that didn't work out (on Win32).

> Does Win2K, Apache2, ActivePerl require a completely
> different "set-up" for persistent database connections?

In principle, Win32 doesn't require a different setup.
However, the patch above didn't work on Win32 because
of a problem with threads, which probably requires special
treatment.

> I read on
> http://perl.apache.org/docs/2.0/user/design/design.html#TIPool
>  thatthis may be a replacement for persistent stuff.  I'm not a
> C programmer, so I don't know how to "hook" into the
> TIPool stuff.

I believe Stas is still working on that.

-- 
best regards,
randy

Reply via email to