tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Swtich default PHP to 5.6.



On Sun, Aug 23, 2015 at 06:49:25PM +0200, Manuel Bouyer wrote:
> On Sun, Aug 23, 2015 at 06:20:27PM +0200, Joerg Sonnenberger wrote:
> > On Sun, Aug 23, 2015 at 05:56:26PM +0200, Manuel Bouyer wrote:
> > > On Mon, Aug 24, 2015 at 12:29:30AM +0900, Takahiro Kambe wrote:
> > > > In message <20150822101054.GA3999%asim.lip6.fr@localhost>
> > > > 	on Sat, 22 Aug 2015 12:10:54 +0200,
> > > > 	Manuel Bouyer <bouyer%antioche.eu.org@localhost> wrote:
> > > > >> I would change default version of PHP to 5.6.
> > > > >> 
> > > > >> * PHP 5.4 is already security support phase and it will become EOL on
> > > > >>   14th September 2015.
> > > > >> * PHP 5.5 is already security support phase since 10th July 2015.
> > > > >>   (and it will become EOL on 10th Jul 2016.)
> > > > >> * PHP 5.6 is in active support phase now.
> > > > >> 
> > > > >> Is there any comments?
> > 
> > Please do.
> > 
> > > > > 
> > > > > Are all packages working with php 5.6 at this time ?
> > > > Maybe.
> > > > 
> > > > > In the past, it took some time to get all existing applications converted
> > > > > to the php version ...
> > > > PHP_VERSIONS_ACCEPTED should be set properly.
> > > 
> > > The problem then would be that you end up with unusable prebuilt binary
> > > packages, as some will requires php 5.6 and other 5.5
> > 
> > Only if you have things depending on PHP without properly using the
> > naming scheme. Which likely would classify as a bug on its own.
> 
> Can you please expand this ?
> Say I have foo with PHP_VERSIONS_ACCEPTED=55, and bar with no
> PHP_VERSIONS_ACCEPTED.
> In the prebuilt binary packages, foo will depend on php55 (and I will need
> ap22-php55) and bar will depend on php56 (and I will need ap22-php56).
> Of course I can't load both php55 and php56, so I can't use prebuilt
> binary packages.

If foo and bar would be properly named, both php55-bar and php56-bar exist,
so you can pull the LCD.

Joerg


Home | Main Index | Thread Index | Old Index