Skip to content

Commit 37c7c4b

Browse files
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?
1 parent a2de717 commit 37c7c4b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

performance.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,9 @@ You can configure PHP to use this preload file:
115115
116116
; php.ini
117117
opcache.preload=/path/to/project/config/preload.php
118+
119+
; required for opcache.preload:
120+
opcache.preload_user=www-data
118121
119122
.. _performance-configure-opcache:
120123

0 commit comments

Comments
 (0)