Update PHP globally

Jochen Neumeister joneum at FreeBSD.org
Sun Jan 21 16:49:02 UTC 2018

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 



> Thanks!

More information about the freebsd-questions mailing list