[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-modperl
Subject:    Re: Approaches to upgrading Apache but not mod_perl
From:       Stas Bekman <stas () stason ! org>
Date:       2003-02-27 23:53:30
[Download RAW message or body]

Carlos Ramirez wrote:
> I've been using apache/mod_perl for some time now and have upgraded 
> apache many times with mod_perl. In most cases I've only had to upgrade 
> the web server only but since I use mod_perl I also compile mod_perl 
> statically.  Now my question is: What's the correct or best approach of 
> compiling mod_perl into Apache without acutally installing mod_perl, 
> since it's already installed?
> 
> For example, when I want to upgrade to Apache 1.3.26/mod_perl-1.27 to 
> 1.3.27/mod_perl-1.27 I perform the following standard compliation steps:
> 
>  1. % tar xzvf apache_1.3.27.tar.gz
>  2. % cd mod_perl-1.xx
>  3. % perl Makefile.PL APACHE_SRC=../apache_1.3.27/src \
>     DO_HTTPD=1 USE_APACI=1 EVERYTHING=1
>  4. % make && make install
>  5. % cd ../apache_1.3.xx
>  6. % make && make install
> 
> Step 4. executes make install which copies mod_perl into the perl 
> installation location, which seems harmless, but is thie ok? Or is there 
> a way that I can somehow just copy the libperl.a into 
> apache_1.3.27/src/modules/lib/perl ? Although, I've been following these 
> steps for years and it works fine, I've got bitten by the curious bug 
> and would like to know how other approach these types of upgrades.

To upgrade Apache you are better off to do the whole installation from 
scratch. Mainly for binary compatibility reasons. e.g. in the 2.0 world, 
Apache won't start if you have a modperl module built with a previous Apache 
version.

__________________________________________________________________
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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic