[Bug 1241498] Re: package libapache2-mod-php5 5.5.3+dfsg-1ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
goofrider
bugs at goofrider.imap.cc
Tue Sep 2 18:25:09 UTC 2014
Judging from the output from libapache2-mod-php5filter...
----
php5_invoke: Enable module mysqli for apache2filter SAPI
php5_invoke: Enable module pdo_mysql for apache2filter SAPI
apache2_invoke: Enable module php5filter
* Restarting web server apache2
----
In /var/lib/dpkg/info/libapache2-mod-php5.postinst...
----
# Automatically added by dh_apache2
if php5_enable; then
if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then
. /usr/share/apache2/apache2-maintscript-helper
for conf in php5 ; do
apache2_invoke enmod $conf || exit $?
done
fi
fi
# End automatically added section
----
Since php5_enable() always produce an error msg before it exit with
status 1, and apache2_invoke was never called, it looks like the only
culprit would be "for conf in php5" returned nothing.
It looks like I previously have apache2 and mod-php5 installed and I
moved the entire /etc/apache2 elsewhere to solve a previous apache2
upgrade problem, so that might have contributed to it. Looks to me
/etc/apache2/mods-available/php5.{conf,load} weren't there and normal
remove/reinstall doesn't check for it to put them back. purge/reinstall
fixed it.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in Ubuntu.
https://bugs.launchpad.net/bugs/1241498
Title:
package libapache2-mod-php5 5.5.3+dfsg-1ubuntu2 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/php5/+bug/1241498/+subscriptions
More information about the Ubuntu-server-bugs
mailing list