diff --git a/setup.sh b/setup.sh index a981f00..7959872 100644 --- a/setup.sh +++ b/setup.sh @@ -25,6 +25,8 @@ unset CertPath unset KeyPath unset CAChainPath unset DHPath +unset phpVersion +unset phpType # set variables regexIP4="(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])" @@ -34,6 +36,7 @@ serverNames=() detectedIP=$(ip route get 1 | sed -n 's/^.*src \([0-9.]*\) .*$/\1/p') certbotFiles=(cert.pem chain.pem fullchain.pem privkey.pem) generateDH=0 +usePHP=1 hostname=$(hostname) configPath="./etc.${hostname}"