From owner-freebsd-questions@freebsd.org Sun Jan 21 16:49:01 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D4B21ED1551 for ; Sun, 21 Jan 2018 16:49:01 +0000 (UTC) (envelope-from joneum@FreeBSD.org) Received: from toco-domains.de (mail.toco-domains.de [IPv6:2a01:4f8:150:50a5::6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6847A724AB for ; Sun, 21 Jan 2018 16:49:01 +0000 (UTC) (envelope-from joneum@FreeBSD.org) Received: from phantomias.home.jochen-neumeister.de (p5B0FD363.dip0.t-ipconnect.de [91.15.211.99]) by toco-domains.de (Postfix) with ESMTPA id CA12D1AAF01B; Sun, 21 Jan 2018 17:48:56 +0100 (CET) Subject: Re: Update PHP globally To: FreeBSD , Carmel NY References: From: Jochen Neumeister Message-ID: <0c6768be-3064-0f7c-bba0-a1d9e334a820@FreeBSD.org> Date: Sun, 21 Jan 2018 17:48:50 +0100 MIME-Version: 1.0 In-Reply-To: Content-Language: de-DE Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Jan 2018 16:49:02 -0000 Am 21.01.2018 um 14:55 schrieb Carmel NY: > I presently have php56 installed on a FreeBSD-11 system. I also have joomla3 > installed, along with several other programs thus use php. > > Now joomla4 will require php70 as a minimum to operate. I want to update php > to the latest version in FreeBSD, php72 and have all of the installed programs > that utilize php use that version. > > I use 'synth' as my update manager. I was thinking I could do something like > this: > > 1) Have synth build but not install the php72 and php72-extension ports > > 2) pkg set -o lang/php56:lang/php72 > > 3) Run synth to update the system > > Would that work? If you install php 71, then you must rebuild manually all ports depending on php 56 to link them with the new PHP version Eventually you can override the default PHP version by adding in /etc/make.conf Code: DEFAULT_VERSIONS+= php=7.1 > > Thanks! > Jochen