I want to upgrade the mod_perl to the latest mod_perl2

from mod_perl-1.99_07-5
to   mod_perl-199_10 (same as mod_perl-2.0-current?)

My system as canned installation from redhat:
 -redhat 9
 -httpd-2.0.40-21.5 (apache)
 -mod_perl-1.99_07-5
 -php-4.2.2-17.2

I don't know too much about rpm and I can't find one that is later than
what is already installed. So, I will download the mod_perl source, rpm -e
mod_perl, and try to install with instructions as below INSTALL. Here are
my questions:

 -Is removing the existig mod_perl with rpm remove affect php?

 -My redhat installed does have the the following:
  /usr/sbin/apxs
  /usr/lib/httpd/modules/mod_perl.so

 -Do I need the source or just the apxs?

 -Giving my canned redhat installation should my setting be
MP_APXS=/usr/sbin/apxs?

 -anything else or that's all?

thanks,
rkl


mod_perl INSTALL file
---------------------
Simple install:

% perl Makefile.PL MP_APXS=/usr/local/apache2/bin/apxs
% make && make test
% make install

If Apache was built but not installed yet or if apxs is not available
and Apache was installed under a single tree (e.g.,
/usr/local/apache2), you should use the MP_AP_PREFIX option, which
points that the Apache tree:

% perl Makefile.PL MP_AP_PREFIX=/usr/local/apache2

See docs/user/install/install.pod for details.

Simple config:

LoadModule perl_module modules/mod_perl.so

If the MP_INST_APACHE2=1 option was given to Makefile.PL, you'll want
to configure:

PerlModule Apache2

For compat with the 1.x version, you'll want to configure:

PerlModule Apache::compat

See docs/user/config/config.pod for details.


Reply via email to