From 2898b55c2ae38aa883ae1c11c8fb62b294d07c11 Mon Sep 17 00:00:00 2001 From: Chris Astley Date: Tue, 9 Jul 2024 13:50:52 +0100 Subject: [PATCH] Fix for opcache.consistency_checks depreciated PHP > 8.3 --- Model/DashboardRow/PhpSettings.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Model/DashboardRow/PhpSettings.php b/Model/DashboardRow/PhpSettings.php index b5b5f13..bfb99d1 100644 --- a/Model/DashboardRow/PhpSettings.php +++ b/Model/DashboardRow/PhpSettings.php @@ -53,6 +53,9 @@ public function load() '#php-required-opcache'; foreach ($this->exactValues as $key => $value) { + if (version_compare(phpversion(), '8.3.0', '>=') && $key == 'opcache.consistency_checks') { + continue; + } $curValue = ini_get($key); if (false === $curValue) { $this->problems .= $this->getProblem($key, $curValue);