initialized shell variable $phpversion so that nginx.conf can be edited
This commit is contained in:
parent
4d2fe5d8c7
commit
96d5f566fd
@ -42,9 +42,9 @@ 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 --phpversion="${php_executable:(-3)}"
|
||||
phpversion="${php_executable:(-3)}"
|
||||
ynh_app_setting_set --app=$app --key="phpversion" --value="$phpversion"
|
||||
ynh_add_fpm_config --phpversion="$phpversion"
|
||||
|
||||
|
||||
ynh_script_progression --message="Adding nginx configuration …" --weight=1
|
||||
|
||||
Loading…
Reference in New Issue
Block a user