From 5d2f84e604477a6e2171c1743de630e4e4998d47 Mon Sep 17 00:00:00 2001 From: Thuan Bui Date: Sat, 16 Nov 2024 08:12:25 +0900 Subject: [PATCH] Update custom.ini Add custom settings for opcache --- wordpress/custom.ini | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/wordpress/custom.ini b/wordpress/custom.ini index 5acf524..5baae3b 100644 --- a/wordpress/custom.ini +++ b/wordpress/custom.ini @@ -3,3 +3,12 @@ max_execution_time=300 php_enable_xdebug=false debug=false upload_max_filesize=16M +[opcache] +opcache.enable=1 +opcache.revalidate_freq=0 +opcache.validate_timestamps=0 +opcache.max_accelerated_files=10000 +opcache.memory_consumption=192 +opcache.max_wasted_percentage=10 +opcache.interned_strings_buffer=16 +opcache.fast_shutdown=1