From 85655c66788ff5ecc7f0d8c9b083b1951e607902 Mon Sep 17 00:00:00 2001 From: Markus Katharina Brechtel Date: Mon, 6 Jul 2020 09:48:05 +0200 Subject: [PATCH] php memory limit --- tasks/main.yml | 1 + tasks/php.yaml | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 tasks/php.yaml diff --git a/tasks/main.yml b/tasks/main.yml index 7354a2d..ce05b27 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -52,6 +52,7 @@ - import_tasks: certificate.yml +- import_tasks: php.yaml - import_tasks: apache2.yml - import_tasks: cron.yml diff --git a/tasks/php.yaml b/tasks/php.yaml new file mode 100644 index 0000000..5e56911 --- /dev/null +++ b/tasks/php.yaml @@ -0,0 +1,10 @@ +--- + +- name: php memory limit + ini_file: + path: /etc/php/7.3/apache2/php.ini + section: PHP + option: memory_limit + value: '512M' + backup: yes + notify: restart apache2