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

From: Date: Wed, 28 May 2025 14:25:57 +0000
Subject: Re: [RFC] Make OPcache a non-optional part of PHP
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-127497@lists.php.net to get a copy of this message
On Tue, May 27, 2025 at 6:48 PM Ben Ramsey <ramsey@php.net> 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 PHP from .deb or .rpm sources this shouldn't be an issue either way as the package managers would take care of that (no more opcache extension, no opcache.ini). For the rest, and to avoid a lot of startup warnings we could consider to explicitly ignore loading of a zend_extension=opcache? Technically this should be easy but the question is if this is sensible. People *could* have an custom extension named opcache.so that does something else, but that feels very unlikely. Otherwise, massive fan of the RFC. Having opcache as a given (even if deactivated) will make it a lot easier to get people to use it and reduce friction. Kind Regards, Volker -- Volker Dusch Head of Engineering Tideways GmbH Königswinterer Str. 116 53227 Bonn https://tideways.io/imprint Sitz der Gesellschaft: Bonn Geschäftsführer: Benjamin Außenhofer (geb. Eberlei) Registergericht: Amtsgericht Bonn, HRB 22127

« previous php.internals (#127497) next »