upgrading from php56 to php72 via ports

doug doug at fledge.watson.org
Tue Aug 14 06:39:39 UTC 2018

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

More information about the freebsd-questions mailing list