Bug #90838
closedErrors when opcache_invalidate or opcache_reset are disabled for security reasons
100%
Description
Some webhosting providers disable OpCache related PHP functions (opcache_invalidate, opcache_reset, opcache_get_status, ...) for security reasons, beacause the in memory cache is usually shared among multiple users on the same webserver when PHP-FPM is used.
If opcache_invalidate or opcache_reset are disabled, Typo3 will show an error message.
Both functions are only used in typo3/sysext/core/Classes/Service/OpcodeCacheService.php, maybe a check can be added if opcache_invalidate and opcache_reset are disabled or simply the error control operator @.
Updated by Gerrit Code Review over 4 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63932
Updated by Gerrit Code Review over 4 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63932
Updated by Gerrit Code Review over 4 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63932
Updated by Gerrit Code Review over 4 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63932
Updated by Susanne Moog over 4 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 8f2fe557210e5a9a54152dd74362f73a63a199cb.
Updated by Fronzes Philippe over 2 years ago
- Related to Bug #97826: Critical error with opcache_invalidate() function added