Re: [PHP-DEV] [RFC] Make OPcache a non-optional part of PHP

2025-06-09 Thread Tim Düsterhus
Hi Am 2025-05-26 12:47, schrieb Tim Düsterhus: 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 Since there was not much of a discussion

Re: [PHP-DEV] [RFC] Make OPcache a non-optional part of PHP

2025-05-28 Thread Volker Dusch
On Tue, May 27, 2025 at 6:48 PM Ben Ramsey wrote: > > `zend_extension=opcache` will need to be removed from a user’s php.ini > > configuration > > Is this really a *need*, or is it more of a recommendation? If it's left > in a user's configuration, what is the impact? > For people installing P

Re: [PHP-DEV] [RFC] Make OPcache a non-optional part of PHP

2025-05-28 Thread Tim Düsterhus
Hi Am 2025-05-28 06:02, schrieb Sebastian Bergmann: Is 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: ...) Indeed. To explain further:

Re: [PHP-DEV] [RFC] Make OPcache a non-optional part of PHP

2025-05-28 Thread Tim Düsterhus
Hi Am 2025-05-27 20:07, schrieb Levi Morrison: If opcache can still be disabled, and isn't enabled by default in CLI, then in practice we still have all of these issues. The engine may not have to care about "is opcache around?" but it still has to care "is opcache enabled?" Dropping the first

Re: [PHP-DEV] [RFC] Make OPcache a non-optional part of PHP

2025-05-27 Thread Sebastian Bergmann
Am 27.05.2025 um 20:07 schrieb Levi Morrison: To me, being able to turn off opcache defeats the purpose of putting it into core. In fact, take this part of the RFC's introduction: Part of this is, at least to me, that "turning off" OpCache is not a binary things: bytecode caching on/off, bytec

Re: [PHP-DEV] [RFC] Make OPcache a non-optional part of PHP

2025-05-27 Thread Sebastian Bergmann
Am 27.05.2025 um 18:47 schrieb Ben Ramsey: Is 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: ...)

Re: [PHP-DEV] [RFC] Make OPcache a non-optional part of PHP

2025-05-27 Thread Levi Morrison
On Mon, May 26, 2025 at 4:49 AM Tim Düsterhus wrote: > > Please find the RFC including more details at: > https://wiki.php.net/rfc/make_opcache_required Quoting from the RFC: > OPcache being a non-optional part of PHP and always being loaded does not > mean that OPcache functionality is always a

Re: [PHP-DEV] [RFC] Make OPcache a non-optional part of PHP

2025-05-27 Thread Ben Ramsey
On 5/26/25 05:47, Tim Düsterhus wrote: 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 compile

Re: [PHP-DEV] [RFC] Make OPcache a non-optional part of PHP

2025-05-26 Thread Larry Garfield
On Mon, May 26, 2025, at 5:47 AM, Tim Düsterhus wrote: > 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 ca

Re: [PHP-DEV] [RFC] Make OPcache a non-optional part of PHP

2025-05-26 Thread Michael Maroszek
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 schrieb am Mo. 26. Mai 2025 um 12:49: > Hi > > Arna