summaryrefslogtreecommitdiffstats
path: root/source/n/php/doinst.sh
blob: 15f611b526faa531e429e028ebc0d279fd548b20 (plain) (blame)
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-recommended etc/httpd/php.ini
fi