'pkg upgrade' wants to install php56
nightrecon at hotmail.com
Mon Mar 2 00:29:09 UTC 2015
David Newman wrote:
> How to ensure pkg will upgrade php5 modules within the same minor version?
> After updating pkgs on a FreeBSD 10.1-RELEASE-p6 amd64 system, the 'pkg
> upgrade' command wants to install php56 even though all php5 pkgs are on
> 5.4.37. The rest of the commands from the upgrade appear to want to
> upgrade modules from php5-5.4.37 to 5.4.38.
The default recently changed to 5.6 as per 20150220: in /usr/ports/UPDATING.
Also see 20140211: in same.
> There's nothing in /etc/make.conf forcing version numbers.
Try putting in make.conf this: DEFAULT_VERSIONS+=php=5.5
> I don't particularly care which php version runs (well, within 5.4-5.6)
> as long as module versions are consistent. How to ensure that?
I build everything from ports and do not use binary package management. Not
entirely certain as to any difference(s) that may entail. I followed all the
instructions as the came along about moving to the new 'pkg' system so in
theory it should work just fine. Just have never tried it, yet. So, not
entirely sure about how make.conf relates to binary (pkg) management
practices. Would like to know more about this meself.
More information about the freebsd-questions