annotate modules/website/files/opcache.ini @ 169:4efaba4fbe94 puppet-3.6

Expand PHP OpCache config in line with NextCloud recommendations
author IBBoard <dev@ibboard.co.uk>
date Fri, 01 Sep 2017 11:36:16 +0100
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
169
4efaba4fbe94 Expand PHP OpCache config in line with NextCloud recommendations
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1 zend_extension=/usr/lib64/php/modules/opcache.so
4efaba4fbe94 Expand PHP OpCache config in line with NextCloud recommendations
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2
4efaba4fbe94 Expand PHP OpCache config in line with NextCloud recommendations
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3 //Recommended settings based on https://docs.nextcloud.com/server/12/go.php?to=admin-php-opcache
4efaba4fbe94 Expand PHP OpCache config in line with NextCloud recommendations
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4 opcache.enable=1
4efaba4fbe94 Expand PHP OpCache config in line with NextCloud recommendations
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
5 opcache.enable_cli=1
4efaba4fbe94 Expand PHP OpCache config in line with NextCloud recommendations
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
6 opcache.interned_strings_buffer=8
4efaba4fbe94 Expand PHP OpCache config in line with NextCloud recommendations
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
7 opcache.max_accelerated_files=10000
4efaba4fbe94 Expand PHP OpCache config in line with NextCloud recommendations
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
8 opcache.memory_consumption=128
4efaba4fbe94 Expand PHP OpCache config in line with NextCloud recommendations
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
9 opcache.save_comments=1
4efaba4fbe94 Expand PHP OpCache config in line with NextCloud recommendations
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
10 opcache.revalidate_freq=1