Merge pull request #1 from tjoelsson/EN-707

[EN-707] Add blacklist file option to opcache config
This commit is contained in:
Tomas Joelsson 2015-10-14 14:24:59 +08:00
commit 5ee7a74511
2 changed files with 4 additions and 0 deletions

View File

@ -22,6 +22,7 @@ php_opcache_max_wasted_percentage: "5"
php_opcache_validate_timestamps: "1"
php_opcache_revalidate_freq: "2"
php_opcache_max_file_size: "0"
php_opcache_blacklist_filename: ""
# APC settings (useful for PHP <5.5).
php_enable_apc: true

View File

@ -11,3 +11,6 @@ opcache.max_wasted_percentage={{ php_opcache_max_wasted_percentage }}
opcache.validate_timestamps={{ php_opcache_validate_timestamps }}
opcache.revalidate_freq={{ php_opcache_revalidate_freq }}
opcache.max_file_size={{ php_opcache_max_file_size }}
{% if php_opcache_blacklist_filename != '' %}
opcache.blacklist_filename={{ php_opcache_blacklist_filename }}
{% endif %}