[BUGFIX] Use APCu instead of APC for Caching 44/47344/2
authorBenni Mack <benni@typo3.org>
Thu, 3 Mar 2016 20:11:24 +0000 (21:11 +0100)
committerOliver Hader <oliver.hader@typo3.org>
Mon, 21 Mar 2016 17:56:16 +0000 (18:56 +0100)
commit1ebf988df4582bd1c9492bc886048d92bfdce999
tree6c2fcbc1a902c83e07745532d933576983aa459f
parent681d29d466e368d1913a08038a7bd8ee448b9bd4
[BUGFIX] Use APCu instead of APC for Caching

PHP 5.5 does not support APC anymore, but instead uses
APCu for everything that is in the userland.

Our code should be adapted to use APCu instead, since
TYPO3 CMS 7 LTS requires PHP 5.5+.

However, there are some edge cases where APCu is available
as APC, so the existing APC code is kept.

Resolves: #63291
Releases: master, 7.6
Change-Id: Ica6bac270b54e5a645d37679e5663479ef36f394
Reviewed-on: https://review.typo3.org/47344
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
typo3/sysext/core/Classes/Cache/Backend/ApcuBackend.php [new file with mode: 0644]
typo3/sysext/install/Classes/Configuration/ExtbaseObjectCache/ApcuPreset.php [new file with mode: 0644]
typo3/sysext/install/Classes/Configuration/ExtbaseObjectCache/ExtbaseObjectCacheFeature.php
typo3/sysext/install/Resources/Private/Partials/Action/Tool/Configuration/ExtbaseObjectCache/Apc.html
typo3/sysext/install/Resources/Private/Partials/Action/Tool/Configuration/ExtbaseObjectCache/Apcu.html [new file with mode: 0644]