hide phpType is not using PHP

This commit is contained in:
Asif Bacchus 2019-01-05 03:51:28 -07:00
parent 7ab4e8bc8c
commit f22c7f4c80

View File

@ -480,10 +480,11 @@ if [ "${usePHP}" -eq 1 ]; then
fi
# get PHP-FPM TCP or Sockets configuration
echo -e "\n${mag}PHP-FPM can be set up to respond to requests via TCP or via UNIX sockets."
echo "If you have no idea what any of this means, then you're probably using the"
echo -e "default setup which is sockets${norm}\n"
while true; do
if [ "${usePHP}" -eq 1 ]; then
echo -e "\n${mag}PHP-FPM can be set up to respond to requests via TCP or via UNIX sockets."
echo "If you have no idea what any of this means, then you're probably using the"
echo -e "default setup which is sockets${norm}\n"
while true; do
read -p "Is your PHP-FPM setup to listen via 'TCP' or 'sockets'? (default: sockets) " inputPHPType
case "${inputPHPType}" in
[Ss][Oo][Cc][Kk][Ee][Tt][Ss]*|'')
@ -502,7 +503,8 @@ while true; do
echo -e "\n${err}Please enter either 'tcp' or 'sockets' or 'X' to exit script${norm}"
;;
esac
done
done
fi
: <<'COMMENTSECTION'