mirror of
https://github.com/geerlingguy/ansible-role-php.git
synced 2024-11-30 13:03:26 +01:00
Merge pull request #56 from juwai/master
Add option for opcache blacklist file
This commit is contained in:
commit
41a6282e9e
@ -28,6 +28,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
|
||||
|
@ -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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user