You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Jamie Krasnoo <kr...@socal.rr.com> on 2003/07/09 21:49:46 UTC
mod_perl 1.0 and 2.0
Hi all,
I'm currently working on a personal project to get myself back in
mod_perl programming order. However I'm more used to using mod_perl 1.0
with Apache 1.3.x. I'm going through the documentation for mod_perl 2.0
but I'm worried that most of the modules I need won't work with mod_perl
2.0. I've been looking for what modules will and will not work with 2.0
(like Apache::DBI for pooling connections with MySQL). Would it be a
better benefit to me to switch over to 2.0?
Thanks,
Jamie
Re: mod_perl 1.0 and 2.0
Posted by Shannon Eric Peevey <sp...@unt.edu>.
Chris Faust wrote:
> There is a 0.92 version of Apache::DBI is mp2 aware (there may even be
> a later version at this point).
> We started with mp1 and do to problems we decided to goto mp2 (which
> turned out to be non mod_perl and apache related), there wasn't any
> major performance increase or anything like that and I don't remember
> anything major coming up during the switch (outside of cookies - which
> always seem to be a problem).
> I use a bunch of the popular modules like HTML::Template,
> Image::Magick, DBI, Parse/WriteExcel, Date::Manip etc and I haven't
> had any problems.
> Like Sreeji said, its really about your requirements - but the above
> is my experience, for what its worth.
> -Chris
>
> ----- Original Message -----
> *From:* Jamie Krasnoo <ma...@socal.rr.com>
> *To:* modperl@perl.apache.org <ma...@perl.apache.org>
> *Sent:* Wednesday, July 09, 2003 3:49 PM
> *Subject:* mod_perl 1.0 and 2.0
>
> Hi all,
>
> I’m currently working on a personal project to get myself back in
> mod_perl programming order. However I’m more used to using
> mod_perl 1.0 with Apache 1.3.x. I’m going through the
> documentation for mod_perl 2.0 but I’m worried that most of the
> modules I need won’t work with mod_perl 2.0. I’ve been looking for
> what modules will and will not work with 2.0 (like Apache::DBI for
> pooling connections with MySQL). Would it be a better benefit to
> me to switch over to 2.0?
>
> Thanks,
>
> Jamie
>
We need more help in porting more mods to go with mp2... too ;) Come
join the fray :)
speeves
cws
Re: mod_perl 1.0 and 2.0
Posted by Chris Faust <cf...@doyougot.com>.
There is a 0.92 version of Apache::DBI is mp2 aware (there may even be a later version at this point).
We started with mp1 and do to problems we decided to goto mp2 (which turned out to be non mod_perl and apache related), there wasn't any major performance increase or anything like that and I don't remember anything major coming up during the switch (outside of cookies - which always seem to be a problem).
I use a bunch of the popular modules like HTML::Template, Image::Magick, DBI, Parse/WriteExcel, Date::Manip etc and I haven't had any problems.
Like Sreeji said, its really about your requirements - but the above is my experience, for what its worth.
-Chris
----- Original Message -----
From: Jamie Krasnoo
To: modperl@perl.apache.org
Sent: Wednesday, July 09, 2003 3:49 PM
Subject: mod_perl 1.0 and 2.0
Hi all,
I'm currently working on a personal project to get myself back in mod_perl programming order. However I'm more used to using mod_perl 1.0 with Apache 1.3.x. I'm going through the documentation for mod_perl 2.0 but I'm worried that most of the modules I need won't work with mod_perl 2.0. I've been looking for what modules will and will not work with 2.0 (like Apache::DBI for pooling connections with MySQL). Would it be a better benefit to me to switch over to 2.0?
Thanks,
Jamie
Re: mod_perl 1.0 and 2.0
Posted by Stas Bekman <st...@stason.org>.
Sreeji K Das wrote:
[...]
> I'd also think mod_perl 1.x series may be
> discontinued after a while, as 2.x gets to be used
> widely (however, it may be a while).
The term "discontinued" doesn't quite apply to Open Source software. A few
years from now when the majority will move to mod_perl 2.0, mod_perl 1.0 might
be not worked on actively, but being an open source the project it will be
maintained as long as someone will volunteer to do that.
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
Re: mod_perl 1.0 and 2.0
Posted by Sreeji K Das <sr...@yahoo.com>.
I think it should be based on your specific
requirements. If you want to setup a production box
and does not have much time in hand to troubleshoot,
then you must go for mod_perl 1.x/Apache-1.x latest
stable versions.
However, if you have time in hand & want to learn a
bit about Apache/mod_perl, then 2.x would be better.
For any slightly large project, you're likely to face
problems & it's fun to debug as you'd get to know the
code better. I'd also think mod_perl 1.x series may be
discontinued after a while, as 2.x gets to be used
widely (however, it may be a while).
I have been trying to move a large application from
mod_perl 1.x to 2.x. There had been many hiccups now &
then and I had to install latest of version of all
components in my tech stack (perl 5.8.0, latest
CGI/DBI/DBD ...etc.) and had to tweak my
configurations. I found few issues in the process and
I've reported them here. From my experience, it's a
bit long journey, but quite interesting.
Sreeji
--- Jamie Krasnoo <kr...@socal.rr.com> wrote: > Hi
all,
>
> I'm currently working on a personal project to get
> myself back in
> mod_perl programming order. However I'm more used to
> using mod_perl 1.0
> with Apache 1.3.x. I'm going through the
> documentation for mod_perl 2.0
> but I'm worried that most of the modules I need
> won't work with mod_perl
> 2.0. I've been looking for what modules will and
> will not work with 2.0
> (like Apache::DBI for pooling connections with
> MySQL). Would it be a
> better benefit to me to switch over to 2.0?
>
> Thanks,
>
> Jamie
>
________________________________________________________________________
Want to chat instantly with your online friends? Get the FREE Yahoo!
Messenger http://uk.messenger.yahoo.com/