From owner-freebsd-questions Sat Jul 20 2:28:59 2002 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 8230937B400 for ; Sat, 20 Jul 2002 02:28:56 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id A3B3D43E31 for ; Sat, 20 Jul 2002 02:28:54 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.5/8.12.5) with ESMTP id g6K9SrXZ012575; Sat, 20 Jul 2002 10:28:53 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.5/8.12.5/Submit) id g6K9Slus012574; Sat, 20 Jul 2002 10:28:47 +0100 (BST) Date: Sat, 20 Jul 2002 10:28:47 +0100 From: Matthew Seaman To: default Cc: FreeBSD-Questions Subject: Re: upgrading perl Message-ID: <20020720092847.GB12356@happy-idiot-talk.infracaninophi> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Jul 19, 2002 at 10:52:32PM -0500, default wrote: > I need to upgrade perl to the current version on a running > webserver, and hope to keep it as painless as possible. It is not > that necessary of a thing to do, I was just wondering how bad the > chances are of something going wrong on a webserver running 2 apache > installations, one with modssl, and another with mysql and php. What > could go wrong etc... The easiest thing to do is install the lang/perl5 port, which gets you perl-5.6.1 at the moment. No doubt that will shortly change to the recently released perl-5.8.0 You should be able to do that without affecting apache, mod_php or anything. You can even have both perl-5.00503 from the base system and perl-5.6.1 from ports installed simultaneously: it does get confusing when you install extra modules -- make sure you're using the same version of perl to install the module as you wish to use to run it. Ideally you should have a spare box configured as similarly to your production server as possible. That box can be used as a staging area and test bed server, where you rehearse all your changes you wish to make to the production box. It will let you verify that you won't screw things up on the production site without actually screwing up the production site. Plus it can also act as a stand-in machine should your production machine bite the dust. If you can't afford that, then make sure you have good backups --- restoring from backup is a handy way to erase any mistakes you may make working on your production box. > I am running under freebsd 4.1 so I cannot just do the pkg_update > thing... Uh? Why not? In theory you should be able to install a package compiled for 4.6 on any 4.x version. In practice, you just need to try it to see if it works. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Tel: +44 1628 476614 Marlow Fax: +44 0870 0522645 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message