Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Oct 2014 10:08:48 -0500
From:      Mark Felder <feld@FreeBSD.org>
To:        freebsd-ports@freebsd.org
Subject:   Re: Update php from 5.5 to 5.6?
Message-ID:  <1412953728.2321170.177500401.4AA2459B@webmail.messagingengine.com>
In-Reply-To: <3C4C0CFF6D399497F81258DF@atuin.in.mat.cc>
References:  <CAFVH1KXJy%2BLicdp-qe60BAg8iEpm6%2Bh-LtNz7wrOCjNXqXLSXw@mail.gmail.com> <3C4C0CFF6D399497F81258DF@atuin.in.mat.cc>

next in thread | previous in thread | raw e-mail | index | archive | help


On Fri, Oct 10, 2014, at 04:37, Mathieu Arnold wrote:
> 
> 
> +--On 10 octobre 2014 09:11:10 +0200 Jakob Breivik Grimstveit
> <jakob@grimstveit.no> wrote:
> | Hi there, fellows!
> | 
> | I'm looking at jumping from php5.5 to php5.6, but I'm wondering whether
> | anyone have any experience on this, and any accompanying
> recommendations
> | :-).
> | 
> | Need to have it working together with apache24 and mysql56
> | 
> | Thank you in advance!
> | 
> | 
> | $ pkg info | grep -ie ^php -ie ^apache -ie ^mysql | sort
> 
> You forgot mod_php55-xxx :-)
> 
> Easiest way to do it would be to remove php55-* and mod_php55-xxx and
> install their php56-* and mod_php56-xxx equivalents.
> 

Just keep in mind that there isn't a PROVIDES framework yet and the
default PHP version in ports is PHP 5.4. If you try to install some PEAR
modules or web apps like www/wordpress you'll probably run into a loop
or your PHP will be forcbily be downgraded to the PHP version (5.4) that
the package was "built against". If you run into this problem the sanest
solution is to prop up your own repository and build the packages you
need, setting DEFAULT_VERSIONS= php=5.6 in your make.conf.



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