From 37c7c4b534ef35d02206024c09e375e8e016da6d Mon Sep 17 00:00:00 2001 From: Thomas Landauer Date: Sun, 30 May 2021 12:05:19 +0200 Subject: [PATCH] Adding opcache.preload_user Without this, I can't restart PHP 8 and the service status shows this error: > Fatal Error "opcache.preload_user" has not been defined Passing `www-data` is the best guess here, right? --- performance.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/performance.rst b/performance.rst index 80e36849cc9..709d938d276 100644 --- a/performance.rst +++ b/performance.rst @@ -115,6 +115,9 @@ You can configure PHP to use this preload file: ; php.ini opcache.preload=/path/to/project/config/preload.php + + ; required for opcache.preload: + opcache.preload_user=www-data .. _performance-configure-opcache: