pkgsrc-Users archive

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

Re: Swtich default PHP to 5.6.



On Tue, Aug 25, 2015 at 08:12:55AM -0400, Greg Troxel wrote:
> 
> Manuel Bouyer <bouyer%antioche.eu.org@localhost> writes:
> 
> > On Tue, Aug 25, 2015 at 10:41:15AM +0100, David Brownlee wrote:
> >> Is the issue only the 'php using packages without php-XY- prefix', or
> >> are there some cases where one of those packages builds fine under 56,
> >> but people need an optional module which is only available under 55?
> 
> It's of course not just builds, but runs, and that's non-obvious at times.
> 
> >> If the latter, is it unusual enough that we can expect users to manage
> >> themselves.
> >
> > it's not only optional modules; it can also be "end user" softwares
> > that work only with php55. From my experience, most softwares need
> > some modification when switching to the next 5x php version.
> > Also, a typical web server will have php code that is not in pkgsrc.
> 
> I don't follow this.   We're only talking about the default, but if the
> default were changed to 5.6 there will be binary packages for 5.5 and
> 5.6 for both php itself and all versioned modules.

But all softwares in pkgsrc that depends on php and are not versioned would
be available in binary repos as php-56 only.

> So the only thing
> that would be awkward would be non-pkgsrc software that depends on
> something in pkgsrc that isn't versioned.

Or (more probable) a web server setup wich needs non-versionned softwares
(which then would require php56) and softwares (versioned or not, in pkgsrc
or not) that don't work with 56.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index