Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jul 2002 10:28:47 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        default <default013subscriptions@hotmail.com>
Cc:        FreeBSD-Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: upgrading perl
Message-ID:  <20020720092847.GB12356@happy-idiot-talk.infracaninophi>
In-Reply-To: <OE49FXymDxtXA80kVXL000103a1@hotmail.com>
References:  <OE49FXymDxtXA80kVXL000103a1@hotmail.com>

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




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