Update data/helpers.d/php

Co-Authored-By: Kayou <pierre@kayou.io>
This commit is contained in:
Alexandre Aubin 2020-04-12 17:22:57 +02:00 committed by GitHub
parent ef2f4b2a6e
commit 5091905329
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,7 +2,9 @@
# Declare the actual php version to use.
# A packager willing to use another version of php can override the variable into its _common.sh.
YNH_PHP_VERSION=${YNH_PHP_VERSION:-${YNH_DEFAULT_PHP_VERSION:-7.0}}
if [ -n "$YNH_DEFAULT_PHP_VERSION" ]; then
YNH_PHP_VERSION=${YNH_PHP_VERSION:-YNH_DEFAULT_PHP_VERSION}
fi
# Create a dedicated php-fpm config
#