Re: [RFC] Make OPcache a non-optional part of PHP
| From: | Michael Maroszek | Date: | Mon, 26 May 2025 14:49:52 +0000 |
| Subject: | Re: [RFC] Make OPcache a non-optional part of PHP | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-127462@lists.php.net to get a copy of this message | ||
I really like the idea. We use the Embed SAPI statically linked and at the
moment we need to take great care to bundle the OPcache extension. This
will make it a lot easier for us. A big +1 from my point of view!
Regards,
Michael
Tim Düsterhus <tim@bastelstu.be> schrieb am Mo. 26. Mai 2025 um 12:49:
> Hi
>
> Arnaud, Ilija and I would like to propose making OPcache a non-optional
> part of PHP starting with PHP 8.5.
>
> Please find the RFC including more details at:
> https://wiki.php.net/rfc/make_opcache_required
>
> As of now OPcache cannot be statically compiled into the PHP binary at
> all, which is the direct opposite from what we are proposing. This is
> due to an incompatibility between JIT and ZTS builds. Arnaud has
> prepared a proof-of-concept implementation fixing this issue at:
> https://github.com/php/php-src/pull/18660. The changes in that
> PR would
> also allow building static PHP binaries with OPcache enabled in the
> first place (e.g. for use with FrankenPHP).
>
> Best regards
> Tim Düsterhus
>