You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Beginner <de...@sciencephoto.com> on 2007/04/25 12:25:13 UTC
version checking
Hi,
I have been in this situation before but want to clarify something.
I have a vanilla RH4 install and wanted to check that mod_perl was
installed. So I did a test on port 80 ala:
telnet localhost 80
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
HEAD / HTTP/1.0
HTTP/1.1 403 Forbidden
Date: Wed, 25 Apr 2007 09:55:00 GMT
Server: Apache/2.0.52 (Red Hat)
Accept-Ranges: bytes
Content-Length: 3985
Connection: close
Content-Type: text/html; charset=UTF-8
I was expecting Server: Apache/2.0.52 (Red Hat) mod_perl (some
version number)
I tried to the package manager to install mod_perl and it offers me
mod_perl-1.99-16.4
I thought that Apache 2 required MP2. Am I mistaken? I am not sure
what the best route to take is, even my httpd server version is a bit
old. Do I throw out the httpd server and start from scratch, possibly
confusing my package manager? Any thoughts?
Re: version checking
Posted by Torsten Foertsch <to...@gmx.net>.
On Wednesday 25 April 2007 12:25, Beginner wrote:
> I was expecting Server: Apache/2.0.52 (Red Hat) mod_perl (some
> version number)
>
> I tried to the package manager to install mod_perl and it offers me
> mod_perl-1.99-16.4
Both are quite old. Especially the mod_perl version is BETA and offers a
completely different API as modern mod_perl versions. DON'T USE IT FOR NEW
DEVELOPMENT!
> I thought that Apache 2 required MP2. Am I mistaken? I am not sure
> what the best route to take is, even my httpd server version is a bit
> old. Do I throw out the httpd server and start from scratch, possibly
> confusing my package manager? Any thoughts?
So yes, start from compiling your own Apache and mod_perl!
Torsten
Re: version checking
Posted by Beginner <de...@sciencephoto.com>.
On 25 Apr 2007 at 12:18, Carl Johnstone wrote:
> > I tried to the package manager to install mod_perl and it offers me
> > mod_perl-1.99-16.4
> >
> > I thought that Apache 2 required MP2. Am I mistaken? I am not sure
> > what the best route to take is, even my httpd server version is a bit
> > old. Do I throw out the httpd server and start from scratch, possibly
> > confusing my package manager? Any thoughts?
>
> mod_perl 1.99 was the testing/pre-release version. So you've kind-of got
> mp2.
>
> Unfortunately there were major changes fairly late on in the pre-release
> process so the version RedHat ship with RHEL4 isn't compatible with the
> final release of mp2.
>
> RHEL5 is out and from memory it has a proper version of MP2 (somebody like
> to confirm whether you can just upgrade from 4 to 5?)
RHEL 5 has a http 2.2.3-6 release on and mod_perl 2.0.26 from the
listing I have seen a rhn.
> Alternatively you'll have to compile from source. If you are compiling from
> source, then many people on here will suggest that for best performance you
> really need to compile a separate version of perl itself as the Redhat is
> multi-thread by default and offers relatively poor performance.
i began to go down this route. I used rpm to remove the existing http
and mod_perl (plus a host of other dependencies) and when I tried to
install the current version from source and found my compiler was not
supported.
I want to upgrade to RH5 as I think it will be safer in the long
term. I just hope that the hardware HBA will work once I re-install.
The HBA i have installed are apparently only supported on RH{3,4}.
HoHum. Better get downloading.
Thanx,
Dp.
RE: version checking
Posted by Dylan Tynan <ty...@cadence.com>.
Oh, heh heh, good point .... I should have mentioned that I'm way back
in the Clinton/Gore software era because we still have customers on RHEL
3. The difference is the jump to apache2/mod_perl2 from 1.3/1, that
I've been tasked with. Off to a great start...heh. I was hoping to get
some good advice from the mod_perl collective out here (which, I agree,
yours is good advice, I just can't follow it).
Dylan
-----Original Message-----
From: Jonathan Vanasco [mailto:jvanasco@2xlp.com]
Sent: Wednesday, April 25, 2007 3:52 PM
To: modperl List
Subject: Re: version checking
On Apr 25, 2007, at 8:13 AM, Carl Johnstone wrote:
> RHEL5 comes with mod_perl 2.0.2, perl 5.8.8 and apache 2.2.3 so it's
> *nearly* up to date!
=item 2.0.3 November 28, 2006
=item 2.0.2 - October 20, 2005
considering that its April 2007, i think using 2.03 and compiling
from source is the best route to go.
Re: version checking
Posted by Jonathan Vanasco <jv...@2xlp.com>.
On Apr 25, 2007, at 8:13 AM, Carl Johnstone wrote:
> RHEL5 comes with mod_perl 2.0.2, perl 5.8.8 and apache 2.2.3 so
> it's *nearly* up to date!
=item 2.0.3 November 28, 2006
=item 2.0.2 - October 20, 2005
considering that its April 2007, i think using 2.03 and compiling
from source is the best route to go.
Re: version checking
Posted by Carl Johnstone <mo...@fadetoblack.me.uk>.
> RHEL5 is out and from memory it has a proper version of MP2 (somebody like
> to confirm whether you can just upgrade from 4 to 5?)
To answer my own question - yes you can upgrade:
http://www.redhat.com/rhel/moving/
although I don't know what the process is.
RHEL5 comes with mod_perl 2.0.2, perl 5.8.8 and apache 2.2.3 so it's
*nearly* up to date!
Anybody tried RHEL5 and like to comment on whether the perl performance is
better than with RHEL4?
Carl
Re: version checking
Posted by Carl Johnstone <mo...@fadetoblack.me.uk>.
> I tried to the package manager to install mod_perl and it offers me
> mod_perl-1.99-16.4
>
> I thought that Apache 2 required MP2. Am I mistaken? I am not sure
> what the best route to take is, even my httpd server version is a bit
> old. Do I throw out the httpd server and start from scratch, possibly
> confusing my package manager? Any thoughts?
mod_perl 1.99 was the testing/pre-release version. So you've kind-of got
mp2.
Unfortunately there were major changes fairly late on in the pre-release
process so the version RedHat ship with RHEL4 isn't compatible with the
final release of mp2.
RHEL5 is out and from memory it has a proper version of MP2 (somebody like
to confirm whether you can just upgrade from 4 to 5?)
Alternatively you'll have to compile from source. If you are compiling from
source, then many people on here will suggest that for best performance you
really need to compile a separate version of perl itself as the Redhat is
multi-thread by default and offers relatively poor performance.
Carl