From 2887ee1042e3a3a46f2db6528843b1d787195384 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Fri, 19 Jan 2018 14:30:24 +0100 Subject: [PATCH] piwik: Set PHP memory_limit and max_execution_time Set memory_limit to 256 MB (was 128 MB, Debian default), and max_execution_time to 60m seconds (was 30 seconds). --- roles/piwik/templates/apache2_piwik_vhost.conf.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/roles/piwik/templates/apache2_piwik_vhost.conf.j2 b/roles/piwik/templates/apache2_piwik_vhost.conf.j2 index 77aaae3..0a3d6b4 100644 --- a/roles/piwik/templates/apache2_piwik_vhost.conf.j2 +++ b/roles/piwik/templates/apache2_piwik_vhost.conf.j2 @@ -14,4 +14,7 @@ CustomLog /var/log/apache2/piwik_access.log combined ErrorLog /var/log/apache2/piwik_error.log LogLevel warn + + php_value memory_limit 256M + php_value max_execution_time 60 -- 2.39.2