mirror of
https://github.com/geerlingguy/ansible-role-php.git
synced 2024-11-13 10:24:01 +01:00
Enable opcache.revalidate_path setting
This is needed otherwise in certain cases one will get served stale PHP files.
This commit is contained in:
parent
cbc252ef70
commit
674c848681
@ -98,6 +98,7 @@ When installing Opcache, depending on the system and whether running PHP as a we
|
||||
php_opcache_max_accelerated_files: "4096"
|
||||
php_opcache_max_wasted_percentage: "5"
|
||||
php_opcache_validate_timestamps: "1"
|
||||
php_opcache_revalidate_path: "1"
|
||||
php_opcache_revalidate_freq: "2"
|
||||
php_opcache_max_file_size: "0"
|
||||
|
||||
|
@ -26,6 +26,7 @@ php_opcache_interned_strings_buffer: "16"
|
||||
php_opcache_max_accelerated_files: "4096"
|
||||
php_opcache_max_wasted_percentage: "5"
|
||||
php_opcache_validate_timestamps: "1"
|
||||
php_opcache_revalidate_path: "1"
|
||||
php_opcache_revalidate_freq: "2"
|
||||
php_opcache_max_file_size: "0"
|
||||
php_opcache_blacklist_filename: ""
|
||||
|
@ -9,6 +9,7 @@ opcache.interned_strings_buffer={{ php_opcache_interned_strings_buffer }}
|
||||
opcache.max_accelerated_files={{ php_opcache_max_accelerated_files }}
|
||||
opcache.max_wasted_percentage={{ php_opcache_max_wasted_percentage }}
|
||||
opcache.validate_timestamps={{ php_opcache_validate_timestamps }}
|
||||
opcache.revalidate_path={{ php_opcache_revalidate_path }}
|
||||
opcache.revalidate_freq={{ php_opcache_revalidate_freq }}
|
||||
opcache.max_file_size={{ php_opcache_max_file_size }}
|
||||
{% if php_opcache_blacklist_filename != '' %}
|
||||
|
Loading…
Reference in New Issue
Block a user