Fix PHP-FPM 5.3 env variables

This commit is contained in:
cytopia
2018-05-12 15:39:13 +02:00
parent f5bdccca57
commit bdcbee385d
5 changed files with 65 additions and 2 deletions

View File

@@ -78,6 +78,14 @@ set_gid "NEW_GID" "${MY_GROUP}" "/home/${MY_USER}" "${DEBUG_LEVEL}"
set_timezone "TIMEZONE" "${PHP_INI_DIR}" "${DEBUG_LEVEL}"
###
### PHP-FPM 5.3 Env variables
###
if php -v 2>/dev/null | grep -Eoq '^PHP[[:space:]]5\.3'; then
set_env_php_fpm "/usr/local/etc/php-fpm.d/env.conf"
fi
###
### Set Logging
###