I have fixed the bug. there are my steps #create backup tar.gz of /etc/apache especially for sites-* and mod-* sudo apt-get install libapache2-mod-fastcgi php-fpm # not shure that this is needfull step #i remove completly my installation as described in there https://bugs.launchpad.net/ubuntu/+source/php7.0/+bug/1597315/comments/2 rm -r /etc/apache2/ /etc/php/ sudo apt-get purge apache2* php libapache2-mod-php php7.0 sudo apt-get install apache2 libapache2-mod-php php7.0 --reinstall #restart ubuntu gksu nemo& cd sites-available/ mv 000-default.conf 000-default.conf.bak # unpack from backup sites-available my conf (000-default.conf) cd sites-enabled/ # unpack from backup sites-available my conf (symlink to 000-default.conf) # unpack the previously installed mods (i had 2 manually added) service apache2 force-reload #Now my apache2 is running, so could close the bug please.
** Attachment added: "The step by step fix that works for me" https://bugs.launchpad.net/ubuntu/+source/php7.0/+bug/1703537/+attachment/4914078/+files/apport.apache2.obokzfhv.apport -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1703537 Title: package libapache2-mod-php7.0 7.0.18-0ubuntu0.16.04.1 failed to install/upgrade: подпроцесс установлен сценарий post-installation возвратил код ошибки 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php7.0/+bug/1703537/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs