Re: [mod_perl2] Apache::DBI Win2K
[prev]
[thread]
[next]
[Date index for 2005/03/10]
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.=A0 I find
> the Apache::DBI module=A0to have a "require Apache" at the
> top.=A0 Since this computer has never had Apache 1.x or
> mod_perl1, there is no Apache.pm available.=A0 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=3D110426159200004&r=3D1&w=3D2
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=A0require 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
> =A0thatthis may be a replacement for persistent stuff.=A0 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.
--=20
best regards,
randy
 |
 |
Re: [mod_perl2] Apache::DBI Win2K
Randy Kobes 16:39 on 10 Mar 2005
|