From: Alexander Barton Date: Fri, 19 Jan 2018 13:30:24 +0000 (+0100) Subject: piwik: Set PHP memory_limit and max_execution_time X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=AnsibleRoles.git;a=commitdiff_plain;h=2887ee1042e3a3a46f2db6528843b1d787195384 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). --- 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