From owner-freebsd-ports@freebsd.org  Sat Aug 10 22:47:33 2019
Return-Path: <owner-freebsd-ports@freebsd.org>
Delivered-To: freebsd-ports@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id A6E6CC7084
 for <freebsd-ports@mailman.nyi.freebsd.org>;
 Sat, 10 Aug 2019 22:47:33 +0000 (UTC)
 (envelope-from martin@waschbuesch.de)
Received: from relay02.waschbuesch.it (relay02.waschbuesch.it
 [IPv6:2a00:cba0:100::232])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 server-signature RSA-PSS (4096 bits)
 client-signature RSA-PSS (4096 bits) client-digest SHA256)
 (Client CN "*.waschbuesch.it",
 Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 465cgn0X82z4CQS
 for <freebsd-ports@freebsd.org>; Sat, 10 Aug 2019 22:47:32 +0000 (UTC)
 (envelope-from martin@waschbuesch.de)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
 d=waschbuesch.de; s=dkim; h=To:References:Message-Id:
 Content-Transfer-Encoding:Cc:Date:In-Reply-To:From:Subject:Mime-Version:
 Content-Type:Sender:Reply-To:Content-ID:Content-Description:Resent-Date:
 Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:
 List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=b1YqlEmWTN4k6cfHFpdLFCyhqCNsYGba18ITe7C0YO0=; b=IlOq7rsmQv3FuZsI9q+uB/6/v
 QDaTRmmFVnSUR1YLtWgrEswbCvIx1JQh9a5tHZ1Y2FHnhwZv0dQCgpLB56rzGWxGYLNOETxlFYaKR
 v7M56QJT3zCMOO/QFuls7duquTFyMuDlcHsKtaB0dAFqE4sZESFYUYTPOc8gxI01cbFIM=;
Received: by relay02.waschbuesch.it with esmtpsa
 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim)
 (envelope-from <martin@waschbuesch.de>)
 id 1hwa8s-00037e-7o; Sat, 10 Aug 2019 22:47:18 +0000
Content-Type: text/plain;
	charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\))
Subject: Re: PHP version retirement
From: =?utf-8?Q?Martin_Waschb=C3=BCsch?= <martin@waschbuesch.de>
In-Reply-To: <64faf143-bae3-378c-3ee2-b196c2ea4111@astart.com>
Date: Sun, 11 Aug 2019 00:47:19 +0200
Cc: freebsd-ports@freebsd.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <16731AF5-68E9-4E41-8D21-CF5917BE32A4@waschbuesch.de>
References: <CF1F28D6-1072-4BE6-B124-A97DE43FA4E6@waschbuesch.de>
 <64faf143-bae3-378c-3ee2-b196c2ea4111@astart.com>
To: papowell@astart.com
X-Mailer: Apple Mail (2.3445.104.11)
X-Rspamd-Queue-Id: 465cgn0X82z4CQS
X-Spamd-Bar: ----
Authentication-Results: mx1.freebsd.org;
 dkim=pass header.d=waschbuesch.de header.s=dkim header.b=IlOq7rsm;
 dmarc=pass (policy=none) header.from=waschbuesch.de;
 spf=pass (mx1.freebsd.org: domain of martin@waschbuesch.de designates
 2a00:cba0:100::232 as permitted sender) smtp.mailfrom=martin@waschbuesch.de
X-Spamd-Result: default: False [-4.04 / 15.00]; ARC_NA(0.00)[];
 NEURAL_HAM_MEDIUM(-1.00)[-1.000,0];
 R_DKIM_ALLOW(-0.20)[waschbuesch.de:s=dkim];
 FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx:c];
 MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain];
 TO_DN_NONE(0.00)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[];
 NEURAL_HAM_LONG(-1.00)[-1.000,0];
 TO_MATCH_ENVRCPT_SOME(0.00)[];
 DKIM_TRACE(0.00)[waschbuesch.de:+]; RCPT_COUNT_TWO(0.00)[2];
 DMARC_POLICY_ALLOW(-0.50)[waschbuesch.de,none];
 RCVD_IN_DNSWL_MED(-0.20)[2.3.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.1.0.0.a.b.c.0.0.a.2.list.dnswl.org
 : 127.0.5.2]; NEURAL_HAM_SHORT(-0.84)[-0.841,0];
 RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[];
 MIME_TRACE(0.00)[0:+]; IP_SCORE(-0.00)[country: DE(-0.01)];
 ASN(0.00)[asn:21476, ipnet:2a00:cba0::/32, country:DE];
 MID_RHS_MATCH_FROM(0.00)[]
X-BeenThere: freebsd-ports@freebsd.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Porting software to FreeBSD <freebsd-ports.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-ports>,
 <mailto:freebsd-ports-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ports/>
List-Post: <mailto:freebsd-ports@freebsd.org>
List-Help: <mailto:freebsd-ports-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-ports>,
 <mailto:freebsd-ports-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 10 Aug 2019 22:47:33 -0000


> Am 10.08.2019 um 20:18 schrieb Patrick Powell <papowell@astart.com>:
>=20
> Umm this was just the kick in the pants that I needed to switch to PHP =
7.
> See https://www.glaver.org/blog/?p=3D1109 for a desperation 'I need =
PHP5.6' hack which I used during this update.

Thank you, Patrick,
that is a work-around I also came across. It helped me as well.

> I must say that the update to PHP 7 was relatively painless - there is =
PHP6 to PHP7 update support and lots of help/suggestions.   I also found =
an embarassing amount of bad PHP code during the update process,  =
something
> I should have suspected I would find.

For my own projects, this is not an issue. I do try to follow the =
deprecation announcements for php. The issue is one where customers =
insist (against my explicit advice) to continue to use outdated =
PHP-based software that is not easily upgraded (and probably should be =
replaced instead of patched).

> Note that the changes suggested by Mr. Glaver seem to be applicable to =
new versions of the Ports tree UPDATING and .../.mk files so you can use =
the latest Ports tree with the appropriate minor modifications.  You can =
even generate a
> script to apply these updates/mods each time you run 'portsnap'. But I =
digress...