Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

mod_perl or ActiveState perl for win32?

by samgold (Scribe)
on Apr 04, 2002 at 05:24 UTC ( #156572=perlquestion: print w/replies, xml ) Need Help??

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

I installed Oracle 9.0.1 and with it you get Apache web server and mod_perl. Off hand does anyone know the if there is a difference between mod_perl and ActiveState Perl? Which is better?
  • Comment on mod_perl or ActiveState perl for win32?

Replies are listed 'Best First'.
Re: mod_perl or ActiveState perl for win32?
by Chmrr (Vicar) on Apr 04, 2002 at 05:27 UTC

    mod_perl and ActiveState Perl are two different beasts. mod_perl is a way of rolling a perl interpreter into Apache; this allows Perl to stub into the various low-level nooks and crannies of the web server. ActiveState Perl, on the other hand, is a distribution of perl. The two are not mutually exclusive; indeed they are wholly independant entities.

    See http://perl.apache.org/ for more on mod_perl.

    perl -pe '"I lo*`+$^X$\"$]!$/"=~m%(.*)%s;$_=$1;y^`+*^e v^#$&V"+@( NO CARRIER'

      I was just reading the documentation from Oracle and I think most of my problems stem from the fact that I don't have MSVC and nmake.
      Thanks,
      Sam.
        The Perl and mod_perl enabled Apache supplied with 9i are old versions. Best advice (from the guide) is to use the latest versions.

        rdfield

Re: mod_perl or ActiveState perl for win32?
by strat (Canon) on Apr 04, 2002 at 13:07 UTC
    I'm not sure, but I think that mod_perl doesn't work with Activestateperl (at least not under Win32). Therefor I always use indigoperl which works fine with mod_perl under Win32. Maybe the mod_perl from Oracle even is indigoperl :-)

    Best regards,
    perl -le "s==*F=e=>y~\*martinF~stronat~=>s~[^\w]~~g=>chop,print"

      Apache/mod_Perl works perfectly fine with ActiveState Perl - though there are some restrictions*.

      You need to either build it your self, or install a binary that someone else built for you. As far as I'm aware ActiveState do not provide mod_Perl via on their PPM Server. Randy Kobes does provide it on his "Theory" server, see Re: Adding CPAN Modules to Active State Perl for more details.

      Once you configure PPM, you can install mod_Perl to for your copy of Apache pretty much like any other PPM intsall. Randy also has a nice selection of other modules not available from ActiveState, so it's well worth a look, even if you don't want mod_Perl.

      *The main restriction is that with mod_Perl/AS Perl is that Apache is forced to serialise connections, so you can't call yourself via HTTP from a mod_Perl script. See also CGI.pm uploads under mod_Perl on WinNT for other surprises I found.

      HTH....

Re: mod_perl or ActiveState perl for win32?
by smitz (Chaplain) on Apr 04, 2002 at 10:59 UTC
    AFAIK, both would be the best answer. And if you have Activestate, you dont need nmake, all the modules come pre-compiled. (Course, when I say all modules, I mean ~90% of all modules)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://156572]
Approved by IlyaM
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (2)
As of 2022-08-09 20:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?