From owner-freebsd-stable@FreeBSD.ORG Tue Apr 7 14:56:33 2015 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0BB1691C; Tue, 7 Apr 2015 14:56:33 +0000 (UTC) Received: from webmail.dweimer.net (24-240-198-187.static.stls.mo.charter.com [24.240.198.187]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CBF1EEE6; Tue, 7 Apr 2015 14:56:32 +0000 (UTC) Received: from www.dweimer.net (webmail [192.168.5.2]) by webmail.dweimer.net (8.14.9/8.14.9) with ESMTP id t37EuVgp001605 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 7 Apr 2015 09:56:31 -0500 (CDT) (envelope-from dweimer@dweimer.net) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 07 Apr 2015 09:56:31 -0500 From: dweimer To: Cristiano Deana Subject: Re: php version Organization: dweimer.net Reply-To: dweimer@dweimer.net Mail-Reply-To: dweimer@dweimer.net In-Reply-To: References: Message-ID: <94fa9508feef76eb8fd0456c78728efe@dweimer.net> X-Sender: dweimer@dweimer.net User-Agent: Roundcube Webmail/1.1.1 Cc: owner-freebsd-stable@freebsd.org, FreeBSD Stable Mailing List X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Apr 2015 14:56:33 -0000 On 04/07/2015 9:37 am, 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. > --- > > but, also: > > --- > # grep -B1 ^PORTVERSION /usr/ports/lang/php5/Makefile > PORTNAME= php5 > PORTVERSION= 5.4.38 > --- > > same with pkg: > > --- > # pkg install -n php5 > Updating FreeBSD repository catalogue... > FreeBSD repository is up-to-date. > All repositories are up-to-date. > The following 1 packages will be affected (of 0 checked): > > New packages to be INSTALLED: > php5: 5.4.39 > > The process will require 15 MiB more space. > 2 MiB to be downloaded. > > This in a 10.1-RELENG. Is UPDATING wrong? > Thank you PHP 5.6 is in /usr/ports/lang/php56 If you install another port/pkg that depends on PHP and don't have a version already installed the defaults tell it which version to use. I am guessing its up to the individual port maintainers if they are going to have a port/pkg entry that links to the default. -- Thanks, Dean E. Weimer http://www.dweimer.net/