#!/bin/sh set -e php5_enable() { return 0; } if [ -e /usr/share/php5/php5-maintscript-helper ]; then . /usr/share/php5/php5-maintscript-helper mods=$(php5query -M) for mod in $mods; do php5_invoke dismod apache2 $mod done fi exit 0