[php-src] PR #18961: Make OPcache non-optional

From: Date: Fri, 27 Jun 2025 13:20:10 +0000
Subject: [php-src] PR #18961: Make OPcache non-optional
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-32220@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/18961 Author: arnaud-lb Spun of https://github.com/php/php-src/pull/18660 RFC: https://wiki.php.net/rfc/make_opcache_required Currently, OPcache is both a Zend extension and a PHP module, but it must be loaded as a Zend extension with zend_extension=opcache.so. The Zend extension then loads the PHP module. Also, OPcache can not be built statically. This PR makes the following changes: - Make OPcache non-optional: OPcache is always built into the binary - Since the mechanism for loading builtin extensions supports PHP modules, not Zend extensions: Reversed the roles of the Zend extension and PHP module so that the PHP module loads the Zend extension. Depends on https://github.com/php/php-src/pull/18939.

« previous php.git-pulls (#32220) next »