added --phpversion option to ynh_add_fpm_config
This commit is contained in:
parent
51b506b232
commit
6e6347584e
@ -43,8 +43,8 @@ ynh_script_progression --message="Adding php-fpm configuration …" --weight=1
|
||||
# find default php version
|
||||
php_executable=$(readlink -f "$(which php)")
|
||||
echo "${php_executable:(-3)}"
|
||||
ynh_app_setting_set --app=$app --key="phpversion" --value="${php_executable:(-3)}"
|
||||
ynh_add_fpm_config
|
||||
#ynh_app_setting_set --app=$app --key="phpversion" --value="${php_executable:(-3)}"
|
||||
ynh_add_fpm_config --phpversion="${php_executable:(-3)}"
|
||||
|
||||
|
||||
ynh_script_progression --message="Adding nginx configuration …" --weight=1
|
||||
|
||||
Loading…
Reference in New Issue
Block a user