# PHP is using APXS to alter httpd.conf, hence installwatch
# is picking it up as installed file. httpd.conf should not
# be part of PHP installation.
sedit 's|.*/httpd\.conf.*||g' $INSTALL_LOGS/$SPELL-$VERSION

INC="AddType application/x-httpd-php .php .phtml
LoadModule php4_module libexec/libphp4.so"

if    [  -e  /etc/httpd/httpd.conf  ]
then  MOD="/etc/httpd/httpd.conf"
      grep  -q  php4_module  $MOD  ||  echo  "$INC"  >>  $MOD
      httpd -t
fi

if    [  -e  /etc/httpsd/httpd.conf  ]
then  MOD="/etc/httpsd/httpd.conf"
      grep  -q  php4_module  $MOD  ||  echo  "$INC"  >>  $MOD
      httpd -t
fi
