Commit 1b4abbe6 authored by Alain Takoudjou's avatar Alain Takoudjou

stack/lamp: fix parameter not defined

parent f3361a8b
...@@ -82,7 +82,7 @@ LoadModule rewrite_module modules/mod_rewrite.so ...@@ -82,7 +82,7 @@ LoadModule rewrite_module modules/mod_rewrite.so
LoadModule headers_module modules/mod_headers.so LoadModule headers_module modules/mod_headers.so
LoadModule deflate_module modules/mod_deflate.so LoadModule deflate_module modules/mod_deflate.so
LoadModule filter_module modules/mod_filter.so LoadModule filter_module modules/mod_filter.so
LoadModule php{{ '_module modules/libphp' if parameter_dict['enable-php8'] else '7_module modules/libphp7' }}.so LoadModule php{{ '_module modules/libphp' if parameter_dict.get('enable-php8') else '7_module modules/libphp7' }}.so
{% for module in parameter_dict['php-module-list'].split('\n') -%} {% for module in parameter_dict.get('php-module-list', '').split('\n') -%}
LoadModule {{ module.strip() }} LoadModule {{ module.strip() }}
{% endfor -%} {% endfor -%}
...@@ -26,7 +26,7 @@ md5sum = de1f450a80547d12334b712016138078 ...@@ -26,7 +26,7 @@ md5sum = de1f450a80547d12334b712016138078
[template-apache.conf] [template-apache.conf]
filename = apache.conf.in filename = apache.conf.in
md5sum = fe63dd5039428f4ee451bef98ccfaa2e md5sum = cb847466e8438df624a8c0387cc78b97
[template-php.ini] [template-php.ini]
filename = php.ini.in filename = php.ini.in
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment