apache13 to 22

Odhiambo Washington wash at wananchi.com
Fri Dec 9 05:35:00 PST 2005


* On 09/12/05 11:13 +0200, Perttu Laine wrote:
> And how about upgrading of apache itself. I can't just remove apache13 cause
> lots of proggies are depending on it. So how I do procedure of upgrading it?

There is no clear-cut upgrade procedure, but it's doable, I think, but on
the same machine, you really have to schedule a downtime and let your
users know that you will be upgrading and the downtime will be about
NN minutes long.

You'll really need to deinstall apache13, then install apache22 and
reinstall mod_php5. This is where the downtime comes in.

apachectl stop
cd /usr/ports/www/apache13
make deinstall
cd /usr/ports/www/apache22 && make install
cd /usr/ports/www/mod_php5
make -DWITH_APACHE2 -DFORCE_PKG_REGISTER reinstall

PS: Please make sure you have simulated the whole procedure elsewhere.
Sometimes, things do happen which might make you go crazy! Suppose
something fails to compile, or even to start within the planned down
time.....

BTW, I did not ask what motivation you have to upgrade to apache22 ;)

-Wash

http://www.netmeister.org/news/learn2quote.html

--
+======================================================================+
    |\      _,,,---,,_     | Odhiambo Washington    <wash at wananchi.com>
Zzz /,`.-'`'    -.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_)     | GSM: +254 722 743223   +254 733 744121
+======================================================================+
The best book on programming for the layman is "Alice in Wonderland";
but that's because it's the best book on anything for the layman.


More information about the freebsd-questions mailing list