From owner-freebsd-questions@FreeBSD.ORG Tue Jun 23 09:16:15 2015 Return-Path: Delivered-To: freebsd-questions@nevdull.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D8C6D78D for ; Tue, 23 Jun 2015 09:16:15 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9B3FBA89 for ; Tue, 23 Jun 2015 09:16:15 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-85-234.dynamic.qsc.de [92.195.85.234]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id DC66D3CF57; Tue, 23 Jun 2015 11:16:12 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id t5N9GBX6002701; Tue, 23 Jun 2015 11:16:11 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 23 Jun 2015 11:16:11 +0200 From: Polytropon To: kuku@physik.rwth-aachen.de Cc: "freebsd-questions@freebsd.org" Subject: Re: getting ports updated on an older FreeBSD (5.1) Message-Id: <20150623111611.9f567f0d.freebsd@edvax.de> In-Reply-To: <5587E158.2020702@physik.rwth-aachen.de> References: <5587E158.2020702@physik.rwth-aachen.de> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Jun 2015 09:16:15 -0000 On Mon, 22 Jun 2015 12:20:08 +0200, Christoph Kukulies wrote: > I'm running a somewhat come into age server under FreeBSD 5.1 at the > moment and I'm in need to > update to php5. You'll face too many problems that it's probably easier to install a supported version of FreeBSD (typically 10.1) and then build all the software you need, followed by "migration of data" (configuration, user accounts, user data, forum data and so on). You could try to build a current PHP on a current OS version and then try to install it on the old system, but that won't work because so many things have changed. The default package format and compression is different, and the old pkg_* tools are deprecated. Building from source would be the only option, but again, the toolchain has changed and the current sources probably won't compile. Running FreeBSD 5 in a trusted (!) intranet typically is not a problem. I have a file server running FreeBSD 4.4, and I do not plan to replace it (because it works too well). Of course I also do not plan to update any software it's running, because that would be impossible. :-) In your case, you will have more success with a new install, for sure. Do it in parallel (new machine, or at least new disk during scheduled downtime) so you can quickly switch over to the new system after you have verified everything works as you expect. Good luck! -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...