1
if [ "$1" = "configure" ]; then
2
for SAPI in apache2 apache cgi cli; do
3
if [ -f /etc/php4/$SAPI/php.ini ]; then
4
if ! grep -q "^[[:space:]]*extension[[:space:]]*=[[:space:]]*#PECLMOD#" /etc/php4/$SAPI/php.ini; then
5
echo "extension=#PECLMOD#" >> /etc/php4/$SAPI/php.ini