Re: [RFC] Make OPcache a non-optional part of PHP
| From: | Tim Düsterhus | Date: | Wed, 28 May 2025 07:05:29 +0000 |
| Subject: | Re: [RFC] Make OPcache a non-optional part of PHP | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-127492@lists.php.net to get a copy of this message | ||
Hi
Am 2025-05-28 06:02, schrieb Sebastian Bergmann:
Indeed. To explain further: TheIs this really a *need*, or is it more of a recommendation? If it's left in a user's configuration, what is the impact?A warning on startup: PHP Warning: Failed loading Zend extension 'opcache.so' (tried: ...)
opcache.so will no longer exist, thus the behavior is as with any other non-existent extension you are trying to load.
You can already try yourself with `php -dzend_extension=does-not-exist.so`
Best regards
Tim Düsterhus