Skip to content

PHP 5.5/7.0/7.4: handle the OPcache extension#883

Merged
wimg merged 3 commits intomasterfrom
php-5.5/handle-opcache-extension
Aug 28, 2019
Merged

PHP 5.5/7.0/7.4: handle the OPcache extension#883
wimg merged 3 commits intomasterfrom
php-5.5/handle-opcache-extension

Conversation

@jrfnl
Copy link
Member

@jrfnl jrfnl commented Aug 26, 2019

PHP 5.5/NewFunctions: account for OPcache extension

The OPcache extension was introduced in PHP 5.5, but the functions were not flagged as such.
Previously, the extension was available via PECL.

PHP 5.5/NewIniDirectives: account for OPcache extension

The OPcache extension was introduced in PHP 5.5, but the ini directives were not flagged as such.
Previously, the extension was available via PECL.

Includes detecting the new PHP 7.4 opcache.cache_id directive.

  • OPcache now supports an arbitrary amount of separate caches per user via the INI directive opcache.cache_id. All processes with the same cache ID and user share an OPcache instance.

Refs:

PHP 7.0/RemovedIniDirectives: account for OPcache extension

The OPcache extension was introduced in PHP 5.5, but ini directives removed in PHP 7.0 were not all accounted for.

Loosely related to #808

jrfnl added 3 commits August 26, 2019 21:03
The OPcache extension was introduced in PHP 5.5, but the functions were not flagged as such.
Previously, the extension was available via PECL.
The OPcache extension was introduced in PHP 5.5, but the ini directives were not flagged as such.
Previously, the extension was available via PECL.

Includes detecting the new PHP 7.4 `opcache.cache_id` directive.

> - OPcache now supports an arbitrary amount of separate caches per user via the INI directive opcache.cache_id. All processes with the same cache ID and user share an OPcache instance.

Refs:
* https://github.com/php/php-src/blob/30de357fa14480468132bbc22a272aeb91789ba8/UPGRADING#L620-L622
* php/php-src@e2ed7e6
The OPcache extension was introduced in PHP 5.5, but removed ini directives were not all accounted for.
@jrfnl jrfnl added Type: enhancement PR: quick merge PR only contains relatively simple changes PR: ready for review labels Aug 26, 2019
@jrfnl jrfnl added this to the 9.3.0 milestone Aug 26, 2019
@jrfnl jrfnl requested a review from wimg August 26, 2019 19:24
@wimg wimg merged commit f756c00 into master Aug 28, 2019
@delete-merged-branch delete-merged-branch bot deleted the php-5.5/handle-opcache-extension branch August 28, 2019 14:05
@jrfnl jrfnl removed PR: ready for review PR: quick merge PR only contains relatively simple changes labels Sep 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants