Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Apr 2015 20:01:48 +0200
From:      Guido Falsi <mad@madpilot.net>
To:        Cristiano Deana <cristiano.deana@gmail.com>,  FreeBSD Stable Mailing List <freebsd-stable@freebsd.org>
Subject:   Re: php version
Message-ID:  <55241B8C.3010206@madpilot.net>
In-Reply-To: <CAO82ECGMAi1EpSAfaj%2Bj66FJw4vVBnmB4qBDX0N4xsNEoTJ3sw@mail.gmail.com>
References:  <CAO82ECGMAi1EpSAfaj%2Bj66FJw4vVBnmB4qBDX0N4xsNEoTJ3sw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 04/07/15 16:37, Cristiano Deana wrote:
> Hi,
> 
> please help me understand.
> 
> In /usr/ports/UPDATING we have:
> 
> ---
> # grep -A11 ^20150220 /usr/ports/UPDATING | more
> 20150220:
>   AFFECTS: users of PHP
> 
>   The default PHP version has been updated from 5.4 to 5.6.
> 
>   If you use binary packages you should make a list of php packages
>   before running 'pkg upgrade':
> 
>   # pkg info php5\* > ~/installed-php-ports-list
> 
>   After the upgrade, check with such list if all your php extensions
>   are still installed, and reinstall them if needed.
> ---
> 

# grep PHP_DEFAULT /usr/ports/Mk/bsd.default-versions.mk
PHP_DEFAULT?=           5.6

This is the default port the system will pickup to satisfy dependencies.
If another one is already installed tha tone will be used.

For binary packages, which are build in a clean environment, it means
you will get this one version, unless you override that with:

DEFAULT_VERSIONS= php=5.6

in the building system configuration files. (the per jail make.conf)

-- 
Guido Falsi <mad@madpilot.net>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55241B8C.3010206>