From owner-freebsd-questions@FreeBSD.ORG Fri Dec 9 13:35:00 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 795D416A420 for ; Fri, 9 Dec 2005 13:35:00 +0000 (GMT) (envelope-from wash@wananchi.com) Received: from ns2.wananchi.com (mail.wananchi.com [62.8.64.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id CFD5943D77 for ; Fri, 9 Dec 2005 13:34:27 +0000 (GMT) (envelope-from wash@wananchi.com) Received: from wash by ns2.wananchi.com with local (Exim 4.60 #0 (FreeBSD 4.11-STABLE)) id 1EkiOF-0006Rx-5Y by authid for ; Fri, 09 Dec 2005 16:34:23 +0300 Date: Fri, 9 Dec 2005 16:34:23 +0300 From: Odhiambo Washington To: freebsd-questions@freebsd.org Message-ID: <20051209133423.GG10676@ns2.wananchi.com> Mail-Followup-To: Odhiambo Washington , freebsd-questions@freebsd.org References: <20051209075120.GK99618@ns2.wananchi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Disclaimer: Any views expressed in this message, where not explicitly attributed otherwise, are mine alone!. X-Mailer: Mutt 1.5.11 (2005-09-15) X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. User-Agent: Mutt/1.5.11 Subject: Re: apache13 to 22 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Dec 2005 13:35:00 -0000 * 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 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.