I actually have a question along these lines....

I'm new to mod_perl myself, and I've just installed a new setup with Apache2
and the mod_perl2 beta.

That's all working well and my old cgi-bin type stuff works under mod_perl
great.

Now I'm trying to get more into the mod_perl specific stuff and when I: use
Apache::DBI I'm getting a can't find Apache.pm

To use Apache::DBI do I need the old mod_perl 1 also installed running some
kind of "dual mode"?  Or is that not even an option since I'm running
Apache2.  I'm learning quick so if this is covered someplace just give me a
quick pointer.

Thanks!
-Zac Morris
http://www.zacwolf.com




----- Original Message -----
From: "Stas Bekman" <[EMAIL PROTECTED]>
To: "Perrin Harkins" <[EMAIL PROTECTED]>
Cc: "Ask Bjoern Hansen" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, June 21, 2002 12:03 PM
Subject: Re: [ANNOUNCE] Apache::DBI 0.89


> Perrin Harkins wrote:
> > Ask Bjoern Hansen wrote:
> >
> >> In the last almost 3 years only two bugs has been found.  Edmund no
> >> longer has time to make releases and such, so I fixed the last bug
> >> and made a new release which is available on CPAN.
> >
> >
> > Thanks for taking over maintenance on this.  Any thoughts about how to
> > add support for threading in perl 5.8/mod_perl 2 to this?  It might be
> > premature, since the DBI/DBD modules are not necessarilly thread safe.
>
> the preforked mpm will use the same old Apache::DBI
>
> the threaded mpms will need a new version/mode of Apache::DBI using
> threads::shared, currently available only for 5.8.0-tobe, unless things
> will get backported to 5.6.2. Currently it seems that the threaded mpms
> will be safe to use only with 5.8.0, unless again things will get
> backported. Otherwise chances are that 5.8.0 will be a requirement.
>
> Originally Doug was planning on Apache::DBIPool described in his 2.0
> overview:
>
http://perl.apache.org/release/docs/2.0/user/overview/overview.html#Apache__
DBIPool
> but since we now have threads::shared it's not needed anymore.
>
> __________________________________________________________________
> Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
> http://stason.org/     mod_perl Guide ---> http://perl.apache.org
> mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
> http://modperlbook.org http://apache.org   http://ticketmaster.com
>

Reply via email to