annotate modules/website/files/opcache.ini @ 429:fa3093f2dc8e

Migrate NextCloud to LetsEncrypt
author IBBoard <dev@ibboard.co.uk>
date Sun, 11 Dec 2022 19:03:22 +0000
parents 4efaba4fbe94
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