I had a similar problem but with PHP 7.1 (see bug #1710007), turns out I
had another libapache2-mod-php5.6 for PHP 5.6 installed. I fixed it with
the steps below:

$ sudo apt-get remove --purge php*
$ dpkg -l | grep php
rc libapache2-mod-php5.6 5.6.30-1+deb.sury.org~yakkety+1 amd64 server-side, 
HTML-embedded scripting language (Apache 2 module)
rc libapache2-mod-php7.1 7.1.8-1ubuntu1 amd64 server-side, HTML-embedded 
scripting language (Apache 2 module)

$ sudo apt-get purge libapache2-mod-php*
$ sudo apt-get install php

Hope this helps the reporter.

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

Title:
  package libapache2-mod-php7.0 7.0.18-0ubuntu0.17.04.1 failed to
  install/upgrade: subprocess installed post-installation script
  returned error exit status 1

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to