Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Dec 2005 16:34:23 +0300
From:      Odhiambo Washington <wash@wananchi.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: apache13 to 22
Message-ID:  <20051209133423.GG10676@ns2.wananchi.com>
In-Reply-To: <c6ef380c0512090112x27cb35cu354fae1cfeb64f5b@mail.gmail.com>
References:  <c6ef380c0512082253u1764e60fp47391e49ff7bcbe8@mail.gmail.com> <20051209075120.GK99618@ns2.wananchi.com> <c6ef380c0512090050y6ed19f1bl4351903c0d7d09bd@mail.gmail.com> <c6ef380c0512090112x27cb35cu354fae1cfeb64f5b@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* 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@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051209133423.GG10676>