[php-maint] PHP 5 to PHP 7.0 transition and change of PHP packaging to allow coinstallable versions

Ondřej Surý ondrej at sury.org
Mon Apr 25 09:40:14 UTC 2016


Hi Samuel,

definitely, we'll add something there as a part of #820282.

Cheers,
-- 
Ondřej Surý <ondrej at sury.org>
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server

On Sun, Apr 24, 2016, at 20:02, SamuelOPH wrote:
> Thanks for the link
> ​ ​
> Ondřej
> 
> ​But considering this is breaking packages that used to rely on php5,
> shouldn't be added to the list (NEWS.Debian) as well?​
> 
> 
> Samuel Henrique O. P. [samueloph]
> 
> 2016-04-24 14:54 GMT-03:00 Ondřej Surý <ondrej at sury.org>:
> 
> > Ah, that. We are already discussing enabling FPM by default in #820282.
> >
> > Cheers,
> > --
> > Ondřej Surý <ondrej at sury.org>
> > Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server
> >
> > On Fri, Apr 22, 2016, at 21:32, SamuelOPH wrote:
> > > ​Hi Ondřej
> > >
> > >
> > > > You'll have to explain more as:
> > > >
> > > > $ apt-cache show php
> > > > Package: php
> > > > Source: php-defaults (35)
> > > > Version: 1:7.0+35
> > > > Depends: php7.0 <--
> > > >
> > > > $ apt-cache show php7.0
> > > > Package: php7.0
> > > > Version: 7.0.5-3
> > > > Depends: php7.0-fpm | ***libapache2-mod-php7.0*** | php7.0-cgi,
> > > >                php7.0-common
> > > >
> > >
> > > ​I'm sorry, i forgot to detail the problem..
> > >
> > > It happends that the package pgp5 has libapache2-mod-php5 first in the
> > > precedence order, which means that php5 will install libapache2-mod-php5
> > > if
> > > the system doesn't have one of the alternatives, on the php7 package the
> > > first on the precedence order is php7.0-fpm, so any other packages that
> > > relied upon php5 for providing libapache2-mod-php5 will have to explicit
> > > the need for libapache2-mod-php.
> > >
> > > Now, i don't have enough experience with php and apache to know if the
> > > package should work with php-fpm without any prior modifications instead
> > > of
> > > with libapache2-mod-php, but when using it with vufind i get an apache
> > > error about php_value not being recognizable or something like that.
> > > ​
> > >
> > >
> > > Samuel Henrique O. P. [samueloph]
> > >
> > > 2016-04-22 16:23 GMT-03:00 Ondřej Surý <ondrej at sury.org>:
> > >
> > > > You'll have to explain more as:
> > > >
> > > > $ apt-cache show php
> > > > Package: php
> > > > Source: php-defaults (35)
> > > > Version: 1:7.0+35
> > > > Depends: php7.0 <--
> > > >
> > > > $ apt-cache show php7.0
> > > > Package: php7.0
> > > > Version: 7.0.5-3
> > > > Depends: php7.0-fpm | ***libapache2-mod-php7.0*** | php7.0-cgi,
> > > >                php7.0-common
> > > >
> > > > O.
> > > > --
> > > > Ondřej Surý <ondrej at sury.org>
> > > > Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server
> > > >
> > > > On Fri, Apr 22, 2016, at 19:51, SamuelOPH wrote:
> > > > > Shouldn't
> > > > > ​ ​
> > > > > libapache2-mod-php
> > > > > ​ be added to the list as php doesn't depends on it anymore?
> > > > >
> > > > > php5 depends on libapache2-mod-php5
> > > > >
> > > > > ​
> > > > >
> > > > > Samuel Henrique O. P. [samueloph]
> > > > > _______________________________________________
> > > > > pkg-php-maint mailing list
> > > > > pkg-php-maint at lists.alioth.debian.org
> > > > >
> > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint
> > > >
> >
> _______________________________________________
> pkg-php-maint mailing list
> pkg-php-maint at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint



More information about the pkg-php-maint mailing list