summaryrefslogtreecommitdiffstats
path: root/roles/webmail/files
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2017-05-14 15:09:25 +0200
committerGuilhem Moulin <guilhem@fripost.org>2017-05-14 15:09:36 +0200
commit32508606f6bac9d0b5e0eedbbaa5074d2200251b (patch)
tree97fc2577624f078b9fa83bc47e28ba1c74c252c0 /roles/webmail/files
parent6b556b399a3285711c993ad24b7cce155f05a28e (diff)
webmail: use Zend opcache and configure APCu.
Diffstat (limited to 'roles/webmail/files')
-rw-r--r--roles/webmail/files/etc/php5/mods-available/apcu.ini5
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/webmail/files/etc/php5/mods-available/apcu.ini b/roles/webmail/files/etc/php5/mods-available/apcu.ini
new file mode 100644
index 0000000..9268c08
--- /dev/null
+++ b/roles/webmail/files/etc/php5/mods-available/apcu.ini
@@ -0,0 +1,5 @@
+extension=apcu.so
+apc.shm_segments = 1
+apc.shm_size = 128M
+apc.ttl = 3600
+apc.gc_ttl = 300