Problem solved, this is what I did :

apt-get update
apt-get upgrade
//Check upgrades (not necessary)

apt-get remove apache2* php* libapache2-mod-php7.0 libapache2-mod-php
//remove apache2 and php 
apt-get purge apache2 php libapache2-mod-php7.0 libapache2-mod-php
//remove all configuration files
reboot
//restart the computer (not necessary)
sudo apt install apache2 php mysql-server libapache2-mod-php php-mysql 
//reinstall LAMP cf https://doc.ubuntu-fr.org/lamp

Sources for purge, remove etc : http://askubuntu.com/questions/671643
/uninstall-apache2-from-terminal-on-ubuntu14-04/671644#671644

I hope this will help some people ^^ 
Best regards
Storca

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1667771

Title:
  Conflict between apache and php (libapache2-mod-php7.0
  (7.0.13-0ubuntu0.16.04.1)) dpkg --configure problem

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php7.0/+bug/1667771/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to