diff --git a/mod_php_install.sh b/mod_php_install.sh index 72474fa..cb84ca1 100755 --- a/mod_php_install.sh +++ b/mod_php_install.sh @@ -159,7 +159,7 @@ fi if [[ -f "${_HTTPD_CONF_FILE}" ]] && $(grep -q -i -E "^\s*Timeout\s+" "${_HTTPD_CONF_FILE}") ; then _TIMEOUT="$(grep -i -E "^\s*timeout\s+" "${_HTTPD_CONF_FILE}"| awk '{print$2}' | head -1)" else - _TIMEOUT=60 + _TIMEOUT=360 fi if [[ -f "${_HTTPD_CONF_FILE}" ]] && $(grep -q -i -E "^\s*ProxyTimeout\s+" "${_HTTPD_CONF_FILE}") ; then PROXY_TIMEOUT="$(grep -i -E "^\s*ProxyTimeout\s+" "${_HTTPD_CONF_FILE}"| awk '{print$2}' | head -1)" @@ -167,10 +167,10 @@ else PROXY_TIMEOUT=${_TIMEOUT} fi -_MAX_EXECUTION_TIME=180 +_MAX_EXECUTION_TIME=360 if $(is_int "$PROXY_TIMEOUT") ; then - if [[ $PROXY_TIMEOUT -gt 180 ]] ; then + if [[ ${PROXY_TIMEOUT} -gt ${_MAX_EXECUTION_TIME} ]] ; then _MAX_EXECUTION_TIME=$PROXY_TIMEOUT fi else