cassiano has asked for the wisdom of the Perl Monks concerning the following question:

What version you suggest me. I`m not sure if the 2.0 is stable. About the speed, some diference? I know that the version of the mod_perl and apache must be the same (2 or 1). I was wondering how stable and what is avaible with the mod_perl 2, will it work with the worker MpM? Sorry if this questions are very simple, but Im starting with the mod_perl, so I want to start with the correct version :-). Thanks

Replies are listed 'Best First'.
Re: mod_perl 1.0 or 2.0
by dfaure (Chaplain) on Jul 11, 2004 at 07:58 UTC

    Choosing a mod_perl version leads to choose an apache version: mod_perl 2.0 is dedicated to apache 2.x whereas mod_perl 1.0 is for apache 1.3.

    ____
    HTH, Dominique
    My two favorites:
    If the only tool you have is a hammer, you will see every problem as a nail. --Abraham Maslow
    Bien faire, et le faire savoir...

Re: mod_perl 1.0 or 2.0
by tomhukins (Curate) on Jul 11, 2004 at 12:43 UTC

    What do you want to do with mod_perl? Are there any features in Apache or mod_perl 2 that you would find helpful? There's no correct version: it depends on what you want to do.

    Version 2 is stable, but not yet released because the Apache API is still changing. This means you need to make slight chanages to your code between releases, which can be inconvenient. Most of the work going into mod_perl is for version 2: Version 1 is stable, mature and unlikely to change much.

    If you're not already aware of it, take a look at the mod_perl Web site.

      I was under the impression that, while the mp2 API may change, the main work right now is finishing the test suite before the release. I doubt the API will change for the kinds of things the original poster will do in the near future.

Re: mod_perl 1.0 or 2.0
by Your Mother (Archbishop) on Jul 12, 2004 at 07:12 UTC

    I recently decided to move to mp2 because early adoption can put you ahead in the job market in a year or two. mp2 relies on apache2, obviously, which as you may know is really well thought out as an Interenet application platform and not just as a straight webserver. mp2 also looks like it will be *drastically* easier for webhosts to support so, with some luck, it will regain the traction it's been losing.

    I've had no stability problems with mp2 at all, though I've done only the smallest applications with it so far. It has lots of new goodies for coding and simplified interactions with Apache. More at the perl.apache site; starting with 2.0. I don't personally know anything about MPM but there are lots of references to it on the mp site if you do a search.