2015-05-05 10:27:13 +02:00
|
|
|
---
|
2016-04-25 11:33:12 +02:00
|
|
|
# file: roles/php-fpm/defaults/main.yml
|
2015-05-05 10:27:13 +02:00
|
|
|
|
|
|
|
# default is on, but turn it off because of protection in nginx vhosts
|
|
|
|
cgi_fix_pathinfo: 0
|
|
|
|
|
|
|
|
# some sane defaults for PHP 5.5+ Opcache
|
|
|
|
# see: https://php.net/manual/en/opcache.installation.php
|
|
|
|
opcache_enable: 1
|
2015-05-09 11:34:45 +02:00
|
|
|
opcache_enable_cli: 0
|
2017-05-28 14:45:05 +02:00
|
|
|
opcache_memory_consumption: 128
|
2015-05-05 10:27:13 +02:00
|
|
|
opcache_interned_strings_buffer: 8
|
|
|
|
opcache_max_accelerated_files: 4000
|
|
|
|
opcache_use_cwd: 1
|
|
|
|
opcache_validate_timestamps: 1
|
2018-05-14 23:00:27 +02:00
|
|
|
opcache_revalidate_freq: 2
|
|
|
|
opcache_save_comments: 1
|
2015-05-05 10:27:13 +02:00
|
|
|
opcache_load_comments: 0
|
|
|
|
opcache_fast_shutdown: 1
|
|
|
|
|
|
|
|
# vim: set ts=2 sw=2:
|