From 42189ba6136f53b25b279b02d1a236395f311347 Mon Sep 17 00:00:00 2001 From: Ludovic Poujol Date: Tue, 17 Aug 2021 16:38:02 +0200 Subject: [PATCH] Configure php7.4 for evoadmin-web on bullseye --- webapps/evoadmin-web/tasks/web.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/webapps/evoadmin-web/tasks/web.yml b/webapps/evoadmin-web/tasks/web.yml index 7f95c96c..9778da4e 100644 --- a/webapps/evoadmin-web/tasks/web.yml +++ b/webapps/evoadmin-web/tasks/web.yml @@ -27,6 +27,15 @@ notify: reload apache2 when: ansible_distribution_major_version is version('10', '=') +- name: "Set custom values for PHP config (Debian 11)" + ini_file: + dest: /etc/php/7.4/apache2/conf.d/zzz-evolinux-custom.ini + section: PHP + option: "disable_functions" + value: "shell-exec,system,passthru,putenv,popen" + notify: reload apache2 + when: ansible_distribution_major_version is version('11', '=') + - name: Install evoadmin VHost template: src: "{{ item }}"