[php-maint] Bug#845199: dolibarr broken after upgrading from 3.5.8+dfsg1-1 to 4.0.2+dfsg4-1 and purging php5 packages

Ondřej Surý ondrej at sury.org
Tue Dec 6 14:14:12 UTC 2016


TL;DR patches or ideas accepted

Hi Raphael and Jean-Marc,

the problem in any automatic solution is in the fact there are two kind
of PHP users:

1. php got pulled as dependency and is used in default config (e.g. end
users)
2. php was installed by hand and is carefully configured (e.g. web
hostings)

Any automatic switch for group 1 would be ok, but it probably won't be
ok for group 2.

So if you have any ideas, how to handle everything automatically and not
break anything, I am all ears. Otherwise I think the Debian release
notes would be our best option right now.

Cheers,
-- 
Ondřej Surý <ondrej at sury.org>
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server
Knot Resolver (https://www.knot-resolver.cz/) – secure, privacy-aware,
fast DNS(SEC) resolver
Vše pro chleba (https://vseprochleba.cz) – Mouky ze mlýna a potřeby pro
pečení chleba všeho druhu

On Mon, Nov 21, 2016, at 14:56, Raphael Hertzog wrote:
> On Mon, 21 Nov 2016, Jean-Marc wrote:
> > > Please show the output of:
> > > $ ls -lR /etc/apache2
> > 
> > To not make the report too big and unreadable, I do not copy the output.
> > But I suppose you want to know if /etc/apache2/mods-enabled contains a symlink to activate php7 module.
> > 
> > I found this in /etc/apache2/mods-available:
> > [...]
> > -rw-r--r-- 1 root root  867 oct 15 17:11 php7.0.conf
> > -rw-r--r-- 1 root root  102 oct 15 17:11 php7.0.load
> > 
> > But no link related to them into /etc/apache2/mods-enabled.
> > 
> > Something missing in the php7 install.
> > Or something removing this in php5 purge.
> > 
> > Do you know the right way to activate php7 ?
> 
> Run "a2enmod php7.0"
> 
> But this should be done automatically by the installation of
> libapache2-mod-php7.0.
> 
> I guess that it was not done because php5 was still enabled and the two
> are conflicting. But when php5 got removed, nothing enabled php7.0...
> 
> I'm putting PHP maintainers in copy. Dear PHP maintainers, is there no
> mechanism that could be put in place for this? Given the new versioning
> scheme, this problem is likely to become more frequent...
> 
> Feel free to reassign this bug to track a possible solution to this
> problem. It might require to modify packages in jessie to make sure
> that the package removal activates something (via trigger or some other
> hook mechanism).
> 
> Cheers,
> -- 
> Raphaël Hertzog ◈ Debian Developer
> 
> Support Debian LTS: http://www.freexian.com/services/debian-lts.html
> Learn to master Debian: http://debian-handbook.info/get/
> 
> _______________________________________________
> 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