Enable opcache.revalidate_path setting

This is needed otherwise in certain cases one will get
served stale PHP files.
This commit is contained in:
Andrei Simion 2016-04-14 17:15:18 +01:00
parent cbc252ef70
commit 674c848681
3 changed files with 3 additions and 0 deletions

View File

@ -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"

View File

@ -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: ""

View File

@ -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 != '' %}