note 127916 added to opcache.preloading
| From: | postmaster at greg0ire dot fr | Date: | Fri, 11 Nov 2022 08:57:16 +0000 |
| Subject: | note 127916 added to opcache.preloading | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-219871@lists.php.net to get a copy of this message | ||
There are caveats when enabling preloading, one of them being that it should be enabled via a
php.ini file. Enabling it with a php-fpm pool configuration won't work, for instance, since
preloading is global and not per-pool. To make sure that you successfully enabled preloading, you
should check for a preload_statistics key in the output of opcache_get_status(). There should
already be an opcache_statistics key, but that's something else entirely.
----
Server IP: 45.112.84.4
Probable Submitter: 45.91.159.161 (proxied: 2a02:8420:6e4a:3c00:44:cff9:ca9e:43a4)
----
Manual Page -- https://php.net/manual/en/opcache.preloading.php
Edit -- https://main.php.net/note/edit/127916
Del: integrated -- https://main.php.net/note/delete/127916/integrated
Del: useless -- https://main.php.net/note/delete/127916/useless
Del: bad code -- https://main.php.net/note/delete/127916/bad+code
Del: spam -- https://main.php.net/note/delete/127916/spam
Del: non-english -- https://main.php.net/note/delete/127916/non-english
Del: in docs -- https://main.php.net/note/delete/127916/in+docs
Del: other reasons-- https://main.php.net/note/delete/127916
Reject -- https://main.php.net/note/reject/127916
Search -- https://main.php.net/manage/user-notes.php