From 5e59b4a57181020477e2b18943b27493638e3f89 Mon Sep 17 00:00:00 2001 From: Luke Downing Date: Thu, 30 Mar 2023 13:28:55 +0100 Subject: [PATCH] [1.x] Speeds up CLI and tests by enabling OpCache (#569) --- runtimes/7.4/php.ini | 3 +++ runtimes/8.0/php.ini | 3 +++ runtimes/8.1/php.ini | 3 +++ runtimes/8.2/php.ini | 3 +++ 4 files changed, 12 insertions(+) diff --git a/runtimes/7.4/php.ini b/runtimes/7.4/php.ini index 66d04d5b..39dcbcac 100644 --- a/runtimes/7.4/php.ini +++ b/runtimes/7.4/php.ini @@ -2,3 +2,6 @@ post_max_size = 100M upload_max_filesize = 100M variables_order = EGPCS + +[opcache] +opcache.enable_cli=1 diff --git a/runtimes/8.0/php.ini b/runtimes/8.0/php.ini index 66d04d5b..39dcbcac 100644 --- a/runtimes/8.0/php.ini +++ b/runtimes/8.0/php.ini @@ -2,3 +2,6 @@ post_max_size = 100M upload_max_filesize = 100M variables_order = EGPCS + +[opcache] +opcache.enable_cli=1 diff --git a/runtimes/8.1/php.ini b/runtimes/8.1/php.ini index 66d04d5b..39dcbcac 100644 --- a/runtimes/8.1/php.ini +++ b/runtimes/8.1/php.ini @@ -2,3 +2,6 @@ post_max_size = 100M upload_max_filesize = 100M variables_order = EGPCS + +[opcache] +opcache.enable_cli=1 diff --git a/runtimes/8.2/php.ini b/runtimes/8.2/php.ini index 66d04d5b..39dcbcac 100644 --- a/runtimes/8.2/php.ini +++ b/runtimes/8.2/php.ini @@ -2,3 +2,6 @@ post_max_size = 100M upload_max_filesize = 100M variables_order = EGPCS + +[opcache] +opcache.enable_cli=1