Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jan 2018 17:48:50 +0100
From:      Jochen Neumeister <joneum@FreeBSD.org>
To:        FreeBSD <freebsd-questions@freebsd.org>, Carmel NY <carmel_ny@outlook.com>
Subject:   Re: Update PHP globally
Message-ID:  <0c6768be-3064-0f7c-bba0-a1d9e334a820@FreeBSD.org>
In-Reply-To: <BN6PR2001MB1730AE9E2E222BA64A0F7C2F80ED0@BN6PR2001MB1730.namprd20.prod.outlook.com>
References:  <BN6PR2001MB1730AE9E2E222BA64A0F7C2F80ED0@BN6PR2001MB1730.namprd20.prod.outlook.com>

next in thread | previous in thread | raw e-mail | index | archive | help


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0c6768be-3064-0f7c-bba0-a1d9e334a820>