  if    [  -e         /etc/httpd/httpd.conf  ]
  then
	cp        /etc/httpd/httpd.conf       	/tmp/httpd.conf
  grep  -v  "LoadModule php4_module        libexec/libphp4.so"  /tmp/httpd.conf > /tmp/conf.tmp1
  grep  -v  "AddType application/x-httpd-php .php .html"   	/tmp/conf.tmp1 > /tmp/conf.tmp2	
  grep  -v  "AddModule mod_php4.c"   /tmp/conf.tmp2 >  /etc/httpd/httpd.conf
  rm    -f  /tmp/httpd.conf /tmp/conf.tmp*
  httpd -t && /usr/sbin/apachectl  restart
  fi

  if    [  -e         /etc/httpsd/httpd.conf  ]
  then
	cp        /etc/httpsd/httpd.conf      	/tmp/httpd.conf
  grep  -v  "LoadModule php4_module        libexec/libphp4.so"  /tmp/httpd.conf > /tmp/conf.tmp1
  grep  -v  "AddType application/x-httpd-php .php .html"   	/tmp/conf.tmp1 > /tmp/conf.tmp2	
  grep  -v  "AddModule mod_php4.c"   /tmp/conf.tmp2 >  /etc/httpsd/httpd.conf
  rm    -f  /tmp/httpd.conf /tmp/conf.tmp*
  httpd -t && /usr/sbin/apachectl  restart
  fi

