On Wed, Oct 17, 2007 at 12:50:16PM -0000, Ondřej Surý wrote:
> Same for libapache2-mod-php5 itself (#152410).
No, libapache2-mod-php5 already does that. Snippet from its postinst:
reload_apache()
{
if apache2ctl configtest 2>/dev/null; then
invoke-rc.d apache2 force-reload || true
else
echo "Your apache2 configuration is broken, so we're not
restarting it for you."
fi
}
if [ -n "$2" ]; then
# we're upgrading. test if we're enabled, and if so, restart to reload the
module.
if [ -e /etc/apache2/mods-enabled/php5.load ]; then
reload_apache
fi
exit 0
fi
--
Soren Hansen
Ubuntu Server Team
http://www.ubuntu.com/
--
Need user notification after installing php-mysql
https://bugs.launchpad.net/bugs/104270
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs