summaryrefslogtreecommitdiffstats
path: root/php-pear/php4/POST_REMOVE
blob: fe0359b8b657fabab2521486975693ff56f086ca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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*
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*
fi