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

Jean-Marc jean-marc at 6jf.be
Mon Nov 21 14:22:34 UTC 2016


Mon, 21 Nov 2016 14:56:05 +0100
Raphael Hertzog <hertzog at debian.org> écrivait :

hi Raphael,

> 
> Run "a2enmod php7.0"

Running this command enabled the PHP7.0 module.
$ sudo a2enmod php7.0 
[sudo] Mot de passe de jim : 
Considering dependency mpm_prefork for php7.0:
Considering conflict mpm_event for mpm_prefork:
Considering conflict mpm_worker for mpm_prefork:
Module mpm_prefork already enabled
Considering conflict php5 for php7.0:
Enabling module php7.0.
To activate the new configuration, you need to run:
  systemctl restart apache2

$ ls -l /etc/apache2/mods-enabled/
total 0
[...]
lrwxrwxrwx 1 root root 29 nov 21 15:15 php7.0.conf -> ../mods-available/php7.0.conf
lrwxrwxrwx 1 root root 29 nov 21 15:15 php7.0.load -> ../mods-available/php7.0.load


I restarted apache:
$ sudo systemctl restart apache2

and it solved the issue !

> 
> But this should be done automatically by the installation of
> libapache2-mod-php7.0.

Maybe it is missing.

> 
> 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...
> [...]

Thank you so much for your quick reaction and help.

> Cheers,
> -- 
> Raphaël Hertzog ◈ Debian Developer


Jean-Marc <jean-marc at 6jf.be>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20161121/c34c1579/attachment.sig>


More information about the pkg-php-maint mailing list