summaryrefslogtreecommitdiff
path: root/source/n/php/doinst.sh
blob: eda8b0de981bf79de20f28df066b92a87fe691d7 (plain)
1
2
3
4
5
6
7
8
if [ ! -r etc/httpd/mod_php.conf ]; then
  cp -a etc/httpd/mod_php.conf.example etc/httpd/mod_php.conf
elif [ "`cat etc/httpd/mod_php.conf 2> /dev/null`" = "" ]; then
  cp -a etc/httpd/mod_php.conf.example etc/httpd/mod_php.conf
fi
if [ ! -r etc/httpd/php.ini ]; then
   cp -a etc/httpd/php.ini-production etc/httpd/php.ini
fi