From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 1EC58138247 for ; Thu, 2 Jan 2014 14:47:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AB754E0B74; Thu, 2 Jan 2014 14:47:50 +0000 (UTC) Received: from mail-we0-f176.google.com (mail-we0-f176.google.com [74.125.82.176]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8AFE9E0B31 for ; Thu, 2 Jan 2014 14:47:49 +0000 (UTC) Received: by mail-we0-f176.google.com with SMTP id p61so12287827wes.7 for ; Thu, 02 Jan 2014 06:47:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=qObA9+dsLxlj8KqEHZbP2hIinN8J0eRDKACdqxJUo0U=; b=URdMlS7gRVPd0hFbZodi9tsVk9sMC0RwuLBIZBqH9yGOqVYVzDO6w4k45AkeTAo5Ay U58fRS1s5kUqM+7sBHqVlfgPa+CR2laoI5QOPgvxGRe1uCNCwQT+TP496wDxr26HOiPs SOuyNo8owrpPD3rmePWX3ApbOY7XuChu8wXYlDHRPfEbDrVt89TSnOdtuUH6yfPS9Wwv MkINj49hXUsQWS+62fX9PrVlNnXVDroxeMv3duQpuqIvuz1C5+ogtVuOz7Y6OdQBc9NH E1ph0MA6o05SLGv/6PHcB0gs2YfK3U+ax1h/3bpGrZ5XrPdGJeUDdnnP3LvvtxQepB0X 0ydA== X-Received: by 10.180.89.68 with SMTP id bm4mr55716173wib.0.1388674068119; Thu, 02 Jan 2014 06:47:48 -0800 (PST) Received: from [172.20.0.41] (196-210-126-126.dynamic.isadsl.co.za. [196.210.126.126]) by mx.google.com with ESMTPSA id z2sm83322918wiy.11.2014.01.02.06.47.46 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 02 Jan 2014 06:47:47 -0800 (PST) Message-ID: <52C57BF5.7040403@gmail.com> Date: Thu, 02 Jan 2014 16:47:17 +0200 From: Alan McKinnon User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] PHP 5.3, 5.4 and 5.5 References: <52C55FAF.2060903@libertytrek.org> <52C56685.1090805@gmail.com> <52C56B62.1020901@libertytrek.org> In-Reply-To: <52C56B62.1020901@libertytrek.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: f2de12b3-5273-458d-b1ac-aa6c4646aa1a X-Archives-Hash: 1d5559e56e2308c6d3e2a446e409a9de On 02/01/2014 15:36, Tanstaafl wrote: > On 2014-01-02 8:15 AM, Alan McKinnon wrote: >> On 02/01/2014 14:46, Tanstaafl wrote: >>> Hi all, >>> >>> I have a VM running in the cloud that has an old web/php app (10+ years >>> old, believe it or not), that still runs fine on apache 2.2.25, but I >>> pinned php to 5.3 some time ago. >>> >>> Does anyone see any big potential gotchas (major changes) with php 5.4, >>> or even 5.5, if I were to upgrade it? > >> Impossible to say without seeing your php code. Potentially there are >> many changes. >> >> You'd be better off doing the heavy lifting yourself first: >> >> 1. read all the changelogs >> 2. run it in a staging vm with php5.5 and see what happens > > Actually, I was just thinking of doing #2 on the dev server (no dev > going on, but I had this set up some time ago when we moved the > production server to linode, so now at least I can test things without > breaking the production system), and if it breaks, just downgrade back > to 5.3... > > That assumes, of course... > > Is php difficult to downgrade after an upgrade? I don't see why not, all three are in the tree and supported (and it's not glibc) It might take a few goes through the emerge && depclean cycle to get it back to a working state but it should all sort out eventually. And you can always quickpkg things that get upgraded before doing the emerge. Even better, use a VM and snapshot it. -- Alan McKinnon alan.mckinnon@gmail.com