]> arthur.barton.de Git - AnsibleRoles.git/commitdiff
piwik: Set PHP memory_limit and max_execution_time
authorAlexander Barton <alex@barton.de>
Fri, 19 Jan 2018 13:30:24 +0000 (14:30 +0100)
committerAlexander Barton <alex@barton.de>
Fri, 19 Jan 2018 13:30:24 +0000 (14:30 +0100)
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

index 77aaae3e5ca3e8662d6391d83ec5b536aec4e619..0a3d6b4dcd189a8bc8bf35199db82616b9457677 100644 (file)
@@ -14,4 +14,7 @@
        CustomLog /var/log/apache2/piwik_access.log combined
        ErrorLog /var/log/apache2/piwik_error.log
        LogLevel warn
        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
 </VirtualHost>
 </VirtualHost>