From owner-freebsd-questions@freebsd.org Tue Aug 14 06:39:39 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0440E106DE61; Tue, 14 Aug 2018 06:39:39 +0000 (UTC) (envelope-from doug@fledge.watson.org) Received: from cyrus.watson.org (cyrus.watson.org [204.107.128.30]) by mx1.freebsd.org (Postfix) with ESMTP id AA3248114E; Tue, 14 Aug 2018 06:39:38 +0000 (UTC) (envelope-from doug@fledge.watson.org) Received: from fledge.watson.org (fledge.watson.org [198.74.231.63]) by cyrus.watson.org (Postfix) with ESMTPS id 36EFFAB01A; Tue, 14 Aug 2018 06:39:38 +0000 (UTC) Received: from fledge.watson.org (doug@localhost.watson.org [127.0.0.1]) by fledge.watson.org (8.15.2/8.15.2) with ESMTP id w7E6dbaS032078; Tue, 14 Aug 2018 02:39:37 -0400 (EDT) (envelope-from doug@fledge.watson.org) Received: from localhost (doug@localhost) by fledge.watson.org (8.15.2/8.15.2/Submit) with ESMTP id w7E6dbla032075; Tue, 14 Aug 2018 02:39:37 -0400 (EDT) (envelope-from doug@fledge.watson.org) Date: Tue, 14 Aug 2018 02:39:37 -0400 (EDT) From: doug Reply-To: doug@safeport.com To: tech-lists cc: freebsd-questions@freebsd.org, freebsd-ports@freebsd.org Subject: Re: upgrading from php56 to php72 via ports In-Reply-To: <2042d5ad-b58a-b1e3-614a-122e246ee91c@zyxst.net> Message-ID: References: <2042d5ad-b58a-b1e3-614a-122e246ee91c@zyxst.net> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (fledge.watson.org [127.0.0.1]); Tue, 14 Aug 2018 02:39:37 -0400 (EDT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Aug 2018 06:39:39 -0000 On Sun, 12 Aug 2018, tech-lists wrote: > Hello lists, > > Is there an approved method of upgrading php56 to php72? This system uses > source builds, ie the ports tree, so I guess flavours isn't available. > Context is freebsd 11.2 amd64. Portupgrade is installed. > > thanks, > -- > J. Using pkg or /usr/ports, the approved FreeBSD way is to uninstall 5.6 + extensions + other dependencies and reinstall. PHP can be coaxed into another directory, say /usr/local/lib/php72. The extensions however will only install into /usr/local/lib/php. PHP and its extentions can be installed into alternative directories using the install from php.net