Project

General

Profile

Actions

Bug #90838

closed

Errors when opcache_invalidate or opcache_reset are disabled for security reasons

Added by Tobias Grave over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Caching
Target version:
-
Start date:
2020-03-26
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.1
Tags:
Complexity:
Is Regression:
Sprint Focus:

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 @.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #97826: Critical error with opcache_invalidate() functionClosed2022-06-29

Actions
Actions

Also available in: Atom PDF